TwclBluetoothRadio.GetRemoteCod(Int64,Cardinal) Method

Reads a remote device COD (Class Of Device).

Namespace: wclBluetooth
public
 function GetRemoteCod(const Address: Int64; out Cod: Cardinal): Integer;

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.