Bluetooth Framework C++ Edition

◆ ReadServices()

int ReadServices ( const wclGattOperationFlag  Flag,
wclGattServices Services 
)

Reads available services from a remote Bluetooth LE device.

Parameters
FlagOperation behavior flag.
ServicesOn output a list of available GATT services. 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
wclGattOperationFlag, wclGattServices