|
|
|
|
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:
| | BTLECharacteristicChangeOfValue | Enables or disables the detection regarding the change of value for a Bluetooth Low Energy characteristic. | BTLECharacteristicReadValue | Reads the value of a characteristic on a Bluetooth Low Energy device. | BTLECharacteristicWriteValue | Writes a value to a characteristic on a Bluetooth Low Energy device. | BTLEConnect | Used to connect to a Bluetooth Low Energy device. | BTLEConnectionStatus | Returns the current connection status to a Bluetooth Low Energy device or asks to be notified when the connection status changes. | BTLEDescriptorReadValue | Reads the value of a descriptor on a Bluetooth Low Energy device. | BTLEDescriptorWriteValue | Writes the value of a descriptor to a Bluetooth Low Energy device. | BTLEDisconnect | Used to disconnect from a Bluetooth Low Energy device. | BTLEGetACharacteristic | Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID). | BTLEGetADescriptor | Retrieves the descriptor of a Bluetooth Low Energy characteristic corresponding to the specified identifier (UUID). | BTLEGetAllCharacteristics | Retrieves all the characteristics (with the same identifier) associated with a BLE service. | BTLEGetAllServices | Retrieves all the services corresponding to a UUID. | BTLEGetAService | Retrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID). | BTLEInitialize | Initializes Bluetooth Low Energy (required in Windows and iOS only) | BTLEInitializeDevice | Initializes a Bluetooth Low Energy device in Windows. | BTLEListDevice | Returns the list of accessible Bluetooth Low Energy devices. | BTLEStatus | Returns 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:
| | btleCharacteristic | The btleCharacteristic type is used to handle a characteristic of a Bluetooth Low Energy service. | btleDescriptor | The btleDescriptor type is used to handle the descriptor of a Bluetooth Low Energy characteristic | btleDevice | The btleDevice type allows you to handle a device that uses the Bluetooth Low Energy technology. | btleService | The btleService type is used to handle a Bluetooth Low Energy service ("Bluetooth GATT Service"). |
Related Examples:
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|