Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::WriteCharacteristicValue Method

The method writes the specified characteristic value to the Bluetooth device.

Syntax
C++
int WriteCharacteristicValue(wclGattCharacteristic Characteristic, wclGattProtectionLevel Protection, wclGattCharacteristicValue Value);
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.

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