TwclBluetoothRadio.HalConfirmReply(Int64,Boolean) Method

Implements a hardware-dependent code to reply on a confirm only pairing request.

Namespace: wclBluetooth
protected
 function HalConfirmReply(const Address: Int64;
 const Confirm: Boolean): Integer; virtual; abstract;

Parameters

Address
Type: Int64

A remote device's MAC address.

Confirm
Type: Boolean

An application must set this parameter to True to confirm pairing. Set it to False to reject pairing.

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.