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
The following functions are used to handle the Bluetooth Low Energy devices (prefix syntax):
<btleCharacteristic variable>.ChangeOfValueEnables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic.
<btleCharacteristic variable>.GetADescriptorRetrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
<btleCharacteristic variable>.ReadValueReads the value of a characteristic on a Bluetooth Low Energy device.
<btleCharacteristic variable>.WriteValueWrites a value to a characteristic on a Bluetooth Low Energy device.
<btleDescriptor variable>.ReadValueReads the value of a descriptor on a Bluetooth Low Energy device.
<btleDescriptor variable>.WriteValueWrites the value of a descriptor to a Bluetooth Low Energy device.
<btleDevice variable>.ConnectUsed to connect to a Bluetooth Low Energy device.
<btleDevice variable>.ConnectionStatusReturns the current connection status to a Bluetooth Low Energy device or asks to be notified when the connection status changes.
<btleDevice variable>.DisconnectUsed to disconnect from a Bluetooth Low Energy device.
<btleDevice variable>.GetAllServicesRetrieves all the services corresponding to a UUID.
<btleDevice variable>.GetAServiceRetrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID).
<btleDevice>.InitializeInitializes a Bluetooth Low Energy device in Windows.
<btleService variable>.GetACharacteristicRetrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
<btleService variable>.GetAllCharacteristicsRetrieves all the characteristics with the same identifier associated with a Bluetooth Low Energy service.
The following types of variables allow you to manage Bluetooth Low Energy devices:
btleCharacteristicThe btleCharacteristic type is used to handle a characteristic of a Bluetooth Low Energy service.
btleDescriptorThe btleDescriptor type is used to handle the descriptor of a Bluetooth Low Energy characteristic
btleDeviceThe btleDevice type allows you to handle a device that uses the Bluetooth Low Energy technology.
btleServiceThe btleService type is used to handle a Bluetooth Low Energy service ("Bluetooth GATT Service").
Related Examples:
WM Bluetooth 4 Cross-platform examples (WINDEV Mobile): WM Bluetooth 4
[ + ] This example explains how to use the Bluetooth Low Energy functions (Bluetooth LE): BTLExxx.

It is an application allowing you to find the nearby BTLE devices, to connect to them and to interact with the proposed services.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/04/2023

Send a report | Local help