ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
  • Properties specific to btleService variables
  • Functions that use the btleService type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The btleService type is used to handle a Bluetooth Low Energy service ("Bluetooth GATT Service").
Each Bluetooth LE service is identified by a unique character string (UUID) and it contains a set of characteristics. A list of different standard services can be found on the site https://www.bluetooth.com/specifications/gatt/services.
For more details about the standard specifications, see: https://www.bluetooth.com/specifications/protocol-specifications.
The characteristics of Bluetooth LE service can be defined and modified by several WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
myDevice is btleDevice
myService is btleService <- myDevice.Service[1]
Remarks

Properties specific to btleService variables

The following properties can be used to handle a service:
Property nameType usedEffect
CharacteristicArray of btleCharacteristicList of characteristics associated with the service.
UUIDCharacter stringIdentifier of the service.
This property is read-only.

Functions that use the btleService type

Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/26/2023

Send a report | Local help