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
Writes the value of a descriptor onto a Bluetooth Low Energy device.
Example
cMyService is btleService
...
cMyCharacteristic is btleCharacteristic <- cMyService[1]
cMyDesc is btleDescriptor <- cMyCharacteristic.Descriptor[1]
...
BTLEDescriptorWriteValue(cMyDesc, NewValue)
Syntax
<Result> = BTLEDescriptorWriteValue(<Descriptor> , <Value>)
<Result>: Boolean
  • True if the writing was successful,
  • False otherwise. ErrorInfo returns more information on the error.
<Descriptor>: btleDescriptor variable
Name of btleDescriptor variable representing the descriptor to use.
<Value>: Type of value
Value of descriptor to write. The type depends on the descriptor (string, numeric, buffer).
Business / UI classification: Business Logic
Component: wd260android.aar
Minimum version required
  • Version 21
Comments
Click [Add] to post a comment