Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::HalReadCharacteristicValue Method

Implements a hardware-dependent code for reading the value of the specified characteristic.

Syntax
C++
virtual int HalReadCharacteristicValue(wclGattCharacteristic Characteristic, wclGattOperationFlag Flag, wclGattProtectionLevel Protection, wclGattCharacteristicValue& Value) = 0;
Parameters 
Description 
wclGattCharacteristic Characteristic 
A wclGattCharacteristic structure obtained by previous call to the ReadCaracteristics method.  
wclGattOperationFlag Flag 
Operation behaviour flag.  
wclGattProtectionLevel Protection 
Describes the required protection level.  
wclGattCharacteristicValue& Value 
On output contains a characteristic's value as bytes array. An application is responsible to clean up a memory allocated for the dynamic array.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class muts override this method.

Copyright (c) 2006-2019. All rights reserved.