ConfigureRadioCommand

ConfigureRadioCommand

class

Control info attached to a configure command that is sent to the Radio.

Usage diagram

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Extends

Name Type Description
cObject (unknown -- not in documented files)

Known subclasses

Name Type Description
Ieee80211ConfigureRadioCommand class

Control info attached to a configure command that is sent to the Radio.

Fields

Name Type Description
radioMode int

new radio mode or -1 if not set.

power W

new default transmission power in the range (0, +infinity) or NaN if not set.

bitrate bps

new default bitrate in the range (0, +infinity) or NaN if not set.

modulation IModulation

new default modulation or nullptr if not set.

centerFrequency Hz

new default carrier frequency in the range (0, +infinity) or NaN if not set.

bandwidth Hz

new default bandwidth in the rage (0, +infinity) or NaN if not set.

Source code

//
// Control info attached to a configure command that is sent to the ~Radio.
//
class ConfigureRadioCommand extends cObject
{
    int radioMode = -1;                  // new radio mode or -1 if not set.
    W power = W(NaN);                    // new default transmission power in the range (0, +infinity) or NaN if not set.
    bps bitrate = bps(NaN);              // new default bitrate in the range (0, +infinity) or NaN if not set.
    IModulation *modulation = nullptr;   // new default modulation or nullptr if not set.
    Hz centerFrequency = Hz(NaN);       // new default carrier frequency in the range (0, +infinity) or NaN if not set.
    Hz bandwidth = Hz(NaN);              // new default bandwidth in the rage (0, +infinity) or NaN if not set.
}
File: src/inet/physicallayer/contract/packetlevel/RadioControlInfo.msg