ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
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 descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
Example
MyDevice is btleDevice
...
MyDesc is btleDescriptor
MyCharacteristic is btleCharacteristic
MyCharacteristic = MyDevice.Service[1].Characteristic[1]
 
MyDesc = MyCharacteristic.GetADescriptor("AD09")
IF ErrorOccurred THEN
Error("The descriptor does not exist.")
RETURN
END
...
Syntax
<Result> = <Characteristic>.GetADescriptor(<Identifier>)
<Result>: btleDescriptor variable
btleDescriptor variable corresponding to the information of requested descriptor. If no descriptor corresponds to the specified identifier, the ErrorOccurred variable is set to True.
<Characteristic>: btleCharacteristic variable
Name of btleCharacteristic variable corresponding to the characteristic used.
<Identifier>: Character string
Identifier (UUID) of descriptor to retrieve.
Component: wd290com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/27/2023

Send a report | Local help