PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Reads the value of a descriptor on a Bluetooth Low Energy device.
Example
cMyService is BTLEService
...
cMyCharacteristic is BTLECharacteristic <- cMyService[1]
cMyDesc is BTLEDescriptor <- cMyCharacteristic..Descriptor[1]
...
Value is string
Value = BTLEDescriptorReadValue(cMyDesc)
Syntax
<Result> = BTLEDescriptorReadValue(<Descriptor>)
<Result>: Type depending on the descriptor read (string, numeric or buffer)
  • Value of descriptor.
  • If an error occurred, the returned buffer is empty and the ErrorOccurred variable is set to True. ErrorInfo returns more details about the problem.
<Descriptor>: btleDescriptor variable
Name of btleDescriptor variable representing the descriptor to use.
Remarks
  • Android The WLanguage Bluetooth Low Energy functions are available for the devices running an Android version greater than or equal to version 4.3 (api level 18).
    • A fatal error will occur if the function is used with an earlier system version.
    • To find out the version of Android system on which the application is run, use SysAndroidVersion.
  • iPhone/iPad The WLanguage Bluetooth Low Energy functions are available from iOS 9.
Components
Android wd230android.jar
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment