TwclBluetoothRadio.HalProtectionLevelReply(Int64,TwclBluetoothLeProtectionLevel) Method

Implements a hardware-dependent code to reply for a pairing protection level request event.

Namespace: wclBluetooth
protected
 function HalProtectionLevelReply(const Address: Int64;
 const Protection: TwclBluetoothLeProtectionLevel): Integer; virtual; abstract;

Parameters

Address
Type: Int64

The remote Bluetooth device's MAC address.

Protection
Type: TwclBluetoothLeProtectionLevel

A pairing protection level.

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 provide driver-dependent code.