Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClient::WriteDescriptorValue Method

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

Syntax
C++
int WriteDescriptorValue(wclGattDescriptor Descriptor, wclGattDescriptorValue Value, wclGattProtectionLevel Protection = plNone);
Parameters 
Description 
wclGattDescriptor Descriptor 
A wclGattDescriptor obtained by previous call to the ReadDescriptors method.  
wclGattDescriptorValue Value 
A descriptor's value.  
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.