Bluetooth Framework C++ Edition

◆ ReadIncludedServices()

int ReadIncludedServices ( const wclGattService Service,
const wclGattOperationFlag  Flag,
wclGattServices Services 
)

The method reads all the included services available for a given service.

Parameters
ServiceParent service returned by the call to the ReadServices method.
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
wclGattService, wclGattOperationFlag, wclGattServices