Bluetooth Framework C++ Edition

◆ ReadDescriptorValue()

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

The method reads the value of the specified descriptor.

Parameters
DescriptorA wclGattDescriptor obtained by previous call to the ReadDescriptors method.
FlagOperation behavior flag.
ProtectionDescribes the required protection level.
ValueA descriptor's value.
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, wclGattProtectionLevel, wclGattDescriptorValue