|
|
|
|
BTLEDescriptorReadValue (Function) In french: BTLEDescripteurLitValeur Reads the value of a descriptor on a Bluetooth Low Energy device.
cMyService is btleService ... cMyCharacteristic is btleCharacteristic <- cMyService[1] cMyDesc is btleDescriptor <- cMyCharacteristic.Descriptor[1] ... Value is string Value = BTLEDescriptorReadValue(cMyDesc)
Syntax
<Result> = BTLEDescriptorReadValue(<Descriptor>)
<Result>: Type depending on the descriptor read (string, numeric or buffer) - Value of descriptor.
This value will only be of type Buffer. - If an error occurs, the returned buffer is empty and the ErrorOccurred variable is set to True. ErrorInfo returns more information on the error.
<Descriptor>: btleDescriptor variable Name of btleDescriptor variable representing the descriptor to use. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|