TwclBluetoothRadio.HalIsRemoteDeviceInRange(Int64,Boolean) Method

Implements a hardware-dependent code to check if a remote device is in range.

Namespace: wclBluetooth
protected
 function HalIsRemoteDeviceInRange(const Address: Int64;
 out InRange: Boolean): Integer; virtual; abstract;

Parameters

Address
Type: Int64

The remote Bluetooth device's MAC address.

InRange
Type: Boolean

If the function completed with success indicates if a remote device is in range. True if a remote device is in range. False otherwise.

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.