PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Note: See Declaring a variable for more details.
Example
myDevice is BTLEDevice
myService is BTLEService <- myDevice..Service[1]
Remarks

Properties specific to the description of 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 available in read-only.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the btleService type

Versions 21 and later
BTLEGetACharacteristic
New in version 21
BTLEGetACharacteristic
BTLEGetACharacteristic
Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
Versions 21 and later
BTLEGetAllCharacteristics
New in version 21
BTLEGetAllCharacteristics
BTLEGetAllCharacteristics
Retrieves all the characteristics with the same identifier associated with a Bluetooth Low Energy service.
Versions 21 and later
BTLEGetAService
New in version 21
BTLEGetAService
BTLEGetAService
Retrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID).
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment