Simple Module SamplePhyLayer

Package: org.mixim.examples.analogueModels
File: examples/analogueModels/SamplePhyLayer.ned

C++ definition

(no description)

SamplePhyLayer

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Extends:

BasePhyLayer (simple module)

Basic physical layer module. See the class "BasePhyLayer" documentation.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

PhyMacNic (compound module) (no description)

Parameters:

Name Type Default value Description
coreDebug bool

debug switch for core framework

recordStats bool false

enable/disable tracking of statistics (eg. cOutvectors)

headerLength int 0

defines the length of the phy header (/preamble)

usePropagationDelay bool

Should transmission delay be simulated?

thermalNoise double

the strength of the thermal noise [dBm]

useThermalNoise bool

should thermal noise be considered?

analogueModels xml

Specification of the analogue models to use and their parameters

decider xml

Specification of the decider to use and its parameters

sensitivity double

The sensitivity of the physical layer [dBm]

maxTXPower double

The maximum transimission power of the physical layer [mW]

timeRXToTX double 0

switchTimes [s]:

timeRXToSleep double 0
timeTXToRX double 0
timeTXToSleep double 0
timeSleepToRX double 0
timeSleepToTX double 0
initialRadioState int 0

state the radio is initially in

radioMinAtt double 1.0

radios gain factor (attenuation) while receiving

radioMaxAtt double 0.0

radios gain factor (attenuation) while not receiving

nbRadioChannels int 1

Number of available radio channels. Defaults to single channel radio.

initialRadioChannel int 0

Initial radio channel.

Properties:

Name Value Description
class SamplePhyLayer

Gates:

Name Direction Size Description
upperGateIn input

from the MAC layer

upperGateOut output

to the MAC layer

upperControlIn input

control from the MAC layer

upperControlOut output

control to the MAC layer

radioIn input

for sendDirect from other physical layers

Source code:

simple SamplePhyLayer extends BasePhyLayer
{
    parameters:
        @class(SamplePhyLayer);
}