boolean readDescriptor( const LGATTUUID& serviceUUID, boolean isPrimary, const LGATTUUID& characteristicUUID, const LGATTUUID& descriptorUUID, LGATTAttributeValue& attrValue );
boolean readDescriptor( const LGATTUUID& serviceUUID, boolean isPrimary, const LGATTUUID& characteristicUUID, const LGATTUUID& descriptorUUID, LGATTAttributeValue& attrValue );
This function reads the descriptor from the service provided by a Bluetooth 4.0 device.
|
Parameters |
Description |
|
const LGATTUUID& serviceUUID |
The UUID of the service provided by a Bluetooth 4.0 device. |
|
boolean isPrimary |
It specifies if this service is primary. |
|
const LGATTUUID& characteristicUUID |
The UUID of the characteristic. |
|
const LGATTUUID& descriptorUUID |
The UUID of the descriptor. |
|
LGATTAttributeValue& attrValue |
The attribute value, which is obtained from the remote Bluetooth 4.0 device if succeed. |
true: Successful.
false: Failed.
None.
LGATTClient.h