|
|
|
|
<btleDescriptor variable>.ReadValue (Function) In french: <Variable btleDescripteur>.LitValeur 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 = cMyDesc.ReadValue()
Syntax
<Result> = <Descriptor>.ReadValue()
<Result>: Type depending on the descriptor read (string, numeric or buffer) - Value of descriptor.
- 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.
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|