PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
Versions 27 and later
Windows This function is now available for WINDEV applications in Windows.
New in version 27
Windows This function is now available for WINDEV applications in Windows.
Windows This function is now available for WINDEV applications in Windows.
Example
MyDevice is btleDevice
...
MyCharac is btleCharacteristic
MyCharac = BTLEGetACharacteristic(MyDevice.Service[1], "ACC54-DAD4D5-DADD")
IF ErrorOccurred THEN
Error("The characteristic does not exist.")
RETURN
END
...
Syntax
<Result> = BTLEGetACharacteristic(<Service> , <Identifier>)
<Result>: btleCharacteristic variable
btleCharacteristic variable corresponding to the characteristic found for the specified service. If no characteristic corresponds to the specified identifier, the ErrorOccurred variable is set to True.
<Service>: btleService variable
Name of btleService variable corresponding to the service used.
<Identifier>: Character string
Identifier (UUID) of characteristic to retrieve.
Caution: Is several characteristics correspond to the same identifier (UUID), only the first characteristic is retrieved.
Remarks
Several characteristics of the same device can correspond to the same identifier (UUID). To retrieve all the characteristics corresponding to the same identifier, use BTLEGetAllCharacteristics.
Business / UI classification: Business Logic
Component: wd270com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment