Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClient::WriteCharacteristicValue Method

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

Syntax
C++
int WriteCharacteristicValue(wclGattCharacteristic Characteristic, wclGattCharacteristicValue Value, wclGattProtectionLevel Protection = plNone);
Parameters 
Description 
wclGattCharacteristic Characteristic 
A wclGattCharacteristic structure obtained by previous call to the ReadCaracteristics method.  
wclGattCharacteristicValue Value 
Contains a characteristic's value as bytes array.  
wclGattProtectionLevel Protection = plNone 
Describes the required protection level.  

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.