|
◆ ReadCharacteristicValue()
The method reads the value of the specified characteristic.
- Parameters
-
Characteristic | A wclGattCharacteristic structure obtained by previous call to the ReadCaracteristics method. |
Flag | Operation behavior flag. |
Protection | Describes the required protection level. |
Value | On output contains a pointer to the characteristic's value. An application is responsible to clean up a memory allocated for the value. |
Length | On output contains a characteristic value length in bytes. |
- Returns
- If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
- See also
- wclGattCharacteristic, wclGattOperationFlag, wclGattProtectionLevel
|