TwclBluetoothRadio.IsRemoteDeviceInRange(Int64,Boolean) Method

Checks if a remote device is in range.

Namespace: wclBluetooth
public
 function IsRemoteDeviceInRange(const Address: Int64;
 out InRange: Boolean): Integer;

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.

This function supports Classic Bluetooth devices only.