TwclBluetoothRadio.HalGetRemoteCod(Int64,Cardinal) Method

Implements a hardware-dependent code for reading a remote device COD (Class Of Device).

Namespace: wclBluetooth
protected
 function HalGetRemoteCod(const Address: Int64;
 out Cod: Cardinal): Integer; virtual; abstract;

Parameters

Address
Type: Int64

A remote Bluetooth enabled device's MAC address.

Cod
Type: Cardinal

On output a remote device's COD.

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.