ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / BTLE functions
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
BTLEInitializeDevice (Function)
In french: BTLEInitialisePériphérique
Initializes a Bluetooth Low Energy device in Windows.
Remark: In Windows, this function replaces BTLEConnect.
Example
myDevice is btleDevice
IF BTLEInitializeDevice(myDevice) = True THEN
Info("Device initialized")
ELSE
ErrorInfo()
END
Syntax
<Result> = BTLEInitializeDevice(<Device>)
<Result>: Boolean
  • True if the initialization was successful,
  • False otherwise. ErrorInfo returns more information on the error.
<Device>: btleDevice variable
Name of the btleDevice variable corresponding to the device to use.
Remarks
Bluetooth Low Energy WLanguage functions are only available on:
  • PCs that support at least Bluetooth Low Energy 5.
  • PCs using a Bluetooth device that supports at least Bluetooth Low Energy 5.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/30/2022

Send a report | Local help