|
|
|
|
<btleService variable>.GetACharacteristic (Function) In french: <Variable btleService>.RécupèreUneCaractéristique Retrieves the characteristic of a Bluetooth Low Energy service corresponding to the specified identifier (UUID).
MyDevice is btleDevice ... MyCharac is btleCharacteristic  MyService is btleService MyService = MyDevice.Service[1]  MyCharac = MyService.GetACharacteristic("ACC54-DAD4D5-DADD") IF ErrorOccurred THEN Error("The characteristic does not exist.") RETURN END ...
Syntax
<Result> = <Service>.GetACharacteristic(<Identifier>)
<Result>: btleCharacteristic variable btleCharacteristic variable corresponding to the characteristic found for the specified service. If no characteristic corresponds to the specified identifier, the ErrorOccurred variable is set to True. <Service>: btleService variable Name of btleService variable corresponding to the service used. <Identifier>: Character string Identifier (UUID) of characteristic to retrieve.Caution: Is several characteristics correspond to the same identifier (UUID), only the first characteristic is retrieved.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|