TwclGattLocalCharacteristic.HalNotify(Int64,Pointer,Cardinal) Method

The function implements a driver specific code to send notification to the given subscribed client.

Namespace: wclBluetooth
protected
 function HalNotify(const Address: Int64; const Data: Pointer;
 const Size: Cardinal): Integer; virtual; abstract;

Parameters

Address
Type: Int64

The client's MAC address.

Data
Type: Pointer

The pointer to the notification data.

Size
Type: Cardinal

The notification data size in bytes.

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 sends notification to the given subscribed client.