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
Remark: These functions are also available in prefix syntax (BTLE functions (prefix syntax)).
The following functions are used to handle the Bluetooth Low Energy devices:
BTLECharacteristicChangeOfValueEnables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic.
BTLECharacteristicReadValueReads the value of a characteristic on a Bluetooth Low Energy device.
BTLECharacteristicWriteValueWrites a value to a characteristic on a Bluetooth Low Energy device.
BTLEConnectUsed to connect to a Bluetooth Low Energy device.
BTLEConnectionStatusReturns the current connection status to a Bluetooth Low Energy device or asks to be notified when the connection status changes.
BTLEDescriptorReadValueReads the value of a descriptor on a Bluetooth Low Energy device.
BTLEDescriptorWriteValueWrites the value of a descriptor to a Bluetooth Low Energy device.
BTLEDisconnectUsed to disconnect from a Bluetooth Low Energy device.
BTLEGetACharacteristicRetrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
BTLEGetADescriptorRetrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID).
BTLEGetAllCharacteristicsRetrieves all the characteristics (with the same identifier) associated with a BLE service.
BTLEGetAllServicesRetrieves all the services corresponding to a UUID.
BTLEGetAServiceRetrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID).
BTLEInitializeInitializes Bluetooth Low Energy (required in Windows and iOS only)
BTLEInitializeDeviceInitializes a Bluetooth Low Energy device in Windows.
BTLEListDeviceReturns the list of accessible Bluetooth Low Energy devices.
BTLEStatusReturns the current Bluetooth activation status on the device or asks to be notified when the activation status changes.
The following types of variables are used to handle the 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 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/04/2023

Send a report | Local help