TwclBluetoothRadio.HalSetCod(Cardinal) Method

Implements a hardware-dependent code to changing the local Bluetooth Radio Class Of Device (COD).

Namespace: wclBluetooth
protected
 function HalSetCod(const Cod: Cardinal): Integer; virtual; abstract;

Parameters

Cod
Type: Cardinal

The new local Bluetooth Radio 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.