ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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 a value to a characteristic on a Bluetooth Low Energy device.
Example
crtc is btleCharacteristic
NewCrtcValue is Buffer
...
BTLECharacteristicWriteValue(crtc, NewCrtcValue)
Syntax
<Result> = BTLECharacteristicWriteValue(<Characteristic> , <Value>)
<Result>: Boolean
  • True if the writing was successful,
  • False otherwise. ErrorInfo returns more information on the error.
<Characteristic>: btleCharacteristic variable
Name of btleCharacteristic variable corresponding to the characteristic used.
<Value>: Buffer
Value of characteristic to write.
Remarks
  • Android Android applications:
    • Bluetooth Low Energy WLanguage functions are only available on devices with Android 4.3 or later (api level 18).
    • A fatal error occurs if the function is used with an earlier system version.
    • To determine the version of Android the application is running on, use SysAndroidVersion.
  • iPhone/iPadIOS WidgetMac Catalyst iOS applications:
    The WLanguage Bluetooth Low Energy functions are available for the devices running iOS 9.
  • Windows WINDEV applications:
Business / UI classification: Business Logic
Component: wd280com.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment