Bluetooth Framework C++ Edition

◆ HalReadServices()

virtual int HalReadServices ( const wclGattOperationFlag  Flag,
wclGattServices Services 
)
protectedpure virtual

Implements a hardware-dependent code for reading 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.

A derived class must override this method.

See also
wclGattOperationFlag, wclGattServices