TwclBluetoothRadio.RemotePair(Int64,TwclBluetoothPairingMethod) Method

Starts pairing with a remote Bluetooth device.

Namespace: wclBluetooth
public
 function RemotePair(const Address: Int64;
 const Method: TwclBluetoothPairingMethod = pmAuto): Integer;

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.