TwclGattLocalService.HalAdd Method

The method implements a driver specific code to add local GATT service to the GATT server.

Namespace: wclBluetooth
protected
 function HalAdd: Integer; virtual; abstract;

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method to implement a driver specified code that adds the GATT service.