|
|
|
|
- Properties specific to btleService variables
- Functions that use the btleService type
btleService (Type of variable) In french: btleService
The btleService type is used to handle a Bluetooth Low Energy service ("Bluetooth GATT Service"). The characteristics of Bluetooth LE service can be defined and modified by several WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. myDevice is btleDevice myService is btleService <- myDevice.Service[1]
Remarks Properties specific to btleService variables The following properties can be used to handle a service: | | | Property name | Type used | Effect |
---|
Characteristic | Array of btleCharacteristic | List of characteristics associated with the service. | UUID | Character string | Identifier of the service. This property is read-only. |
Functions that use the btleService type - Functions that use the classic syntax:
| | BTLEGetACharacteristic | Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID). | BTLEGetAllCharacteristics | Retrieves all the characteristics (with the same identifier) associated with a BLE service. | BTLEGetAService | Retrieves the service of a Bluetooth Low Energy device corresponding to the specified identifier (UUID). |
- Functions that use the prefix syntax:
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|