TwclBluetoothRadio.HalRemotePair(Int64,TwclBluetoothPairingMethod) Method

Implements a hardware-dependent code for pairing with a remote Bluetooth device.

Namespace: wclBluetooth
protected
 function HalRemotePair(const Address: Int64;
 const Method: TwclBluetoothPairingMethod): Integer; virtual; abstract;

Parameters

Address
Type: Int64

The remote Bluetooth device's MAC address.

Method
Type: TwclBluetoothPairingMethod

The pairing method.

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.