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
<btleDevice>.Initialize (Function)
In french: <btlePéripherique>.Initialise
Initializes a Bluetooth Low Energy device in Windows.
Remark: In Windows, this function replaces <btleDevice variable>.Connect.
Example
myDevice is btleDevice
IF myDevice.Initialize() = True THEN
Info("Device initialized")
ELSE
ErrorInfo()
END
Syntax
<Result> = <Device>.Initialize()
<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: 06/20/2023

Send a report | Local help