TwclBluetoothRadio.HalGetRemoteDeviceType(Int64,TwclBluetoothDeviceType) Method

Implements a hardware-dependent code to reading a remote Bluetooth device type.

Namespace: wclBluetooth
protected
 function HalGetRemoteDeviceType(const Address: Int64;
 out DevType: TwclBluetoothDeviceType): Integer; virtual; abstract;

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.

A derived class must override this method to provide driver-dependent code.