TwclGattLocalService.HalDestroy Method

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

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