Simple Module PhyLayer

Package: org.mixim.modules.phy
File: modules/phy/PhyLayer.ned

C++ definition

Physical layer module which knows how to initialize the Deciders and AnalogueModels from the modules directory. See the classes documentation for details.

PhyLayer

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.

Known subclasses:

PhyLayerBattery (simple module)

Extends PhyLayer module with power consumption support

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.

BaseNic (compound module)

This NIC implements an CSMA network interface card using the CSMAMacLayer module

Nic80211 (compound module)

This NIC implements an 802.11 network interface card.

NicCSMA (compound module)

This module implements a CSMA network interface card using the "csma" MAC layer module

PhyMacNic (compound module) (no description)
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 PhyLayer

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:

// Physical layer module which knows how to initialize the Deciders
// and AnalogueModels from the modules directory.
// See the classes documentation for details.
simple PhyLayer extends BasePhyLayer
{
    parameters:
        @class(PhyLayer);
}