Bluetooth Framework C++ Edition

◆ ReadCharacteristics()

int ReadCharacteristics ( const wclGattService & Service,
const wclGattOperationFlag Flag,
wclGattCharacteristics & Characteristics )

The method reads all the characteristics available for the specified service.

Parameters
ServiceParent service returned by the call to the ReadServices method.
FlagOperation behavior flag.
CharacteristicsOn output a list of the service's characteristics. An application is responsible to clean up a memory allocated for the dynamic array.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See also
wclGattService, wclGattOperationFlag, wclGattCharacteristics