Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::HalWriteCharacteristicValue Method

Implements a hardware depended code to write the specified characteristic value to the Bluetooth device.

Syntax
C++
virtual int HalWriteCharacteristicValue(wclGattCharacteristic Characteristic, wclGattProtectionLevel Protection, wclGattCharacteristicValue Value) = 0;
Parameters 
Description 
wclGattCharacteristic Characteristic 
A wclGattCharacteristic structure obtained by previous call to the ReadCaracteristics method.  
wclGattProtectionLevel Protection 
Describes the required protection level.  
wclGattCharacteristicValue Value 
Contains a characteristic's value as bytes 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.