ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
  • Required versions
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
Writes the value of a descriptor to a Bluetooth Low Energy device.
Example
cMyService is btleService
...
cMyCharacteristic is btleCharacteristic <- cMyService[1]
cMyDesc is btleDescriptor <- cMyCharacteristic.Descriptor[1]
...
cMyDesc.WriteValue(NewValue)
Syntax
<Result> = <Descriptor>.WriteValue(<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).
Windows Only a Buffer value can be specified.
Remarks

Required versions

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