Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattClientConnection::WriteDescriptorValue Method

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

Syntax
C++
int WriteDescriptorValue(wclGattDescriptor Descriptor, wclGattProtectionLevel Protection, wclGattDescriptorValue Value);
Parameters 
Description 
wclGattDescriptor Descriptor 
A wclGattDescriptor obtained by previous call to the ReadDescriptors method.  
wclGattProtectionLevel Protection 
Describes the required protection level.  
wclGattDescriptorValue Value 
A descriptor's value.  

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.