TwclBluetoothRadio.GetRemoteDeviceType(Int64,TwclBluetoothDeviceType) Method

Read a remote Bluetooth device type.

Namespace: wclBluetooth
public
 function GetRemoteDeviceType(const Address: Int64;
 out DevType: TwclBluetoothDeviceType): Integer;

Parameters

Address
Type: Int64

The remote Bluetooth device's MAC address.

DevType
Type: TwclBluetoothDeviceType

On output a remote Bluetooth device type.

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.