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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 (with quotes)
Identifier (UUID) of descriptor to retrieve.
Component: wd260android.aar
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment