Bluetooth Framework C++ Edition

◆ ReadDescriptorValue()

int ReadDescriptorValue ( const wclGattDescriptor Descriptor,
const wclGattOperationFlag  Flag,
wclGattDescriptorValue Value,
const wclGattProtectionLevel  Protection = plNone 
)

The method reads the value of the specified descriptor.

Parameters
DescriptorA wclGattDescriptor obtained by previous call to the ReadDescriptors method.
FlagOperation behavior flag.
ValueA descriptor's value.
ProtectionDescribes the required protection level.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclGattDescriptor, wclGattOperationFlag, wclGattDescriptorValue, wclGattProtectionLevel