Bluetooth Framework C++ Edition

◆ HalCreateService()

virtual int HalCreateService ( const wclGattUuid Uuid,
CwclGattLocalService *&  Service 
)
protectedpure virtual

Creates a driver specific local GATT service object.

Parameters
UuidThe service's UUID.
ServiceIf the function completed with success this parameter includes just create local GATT service object.
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 to provide driver specific code.

See also
wclGattUuid, CwclGattLocalService