Bluetooth Framework C++ Edition

◆ ReadDescriptors()

int ReadDescriptors ( const wclGattCharacteristic Characteristic,
const wclGattOperationFlag  Flag,
wclGattDescriptors Descriptors 
)

The method reads all the descriptors available for the specified characteristic.

Parameters
CharacteristicA wclGattCharacteristic structure obtained by previous call to the ReadCaracteristics method.
FlagOperation behavior flag.
DescriptorsOn output contains the list of the characteristic's descriptors.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclGattCharacteristic, wclGattOperationFlag, wclGattDescriptors