TwclGattLocalService.HalCreate Method

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

Namespace: wclBluetooth
protected
 function HalCreate: 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 creates the GATT service.