ApskScalarRadioMedium

Package: inet.physicallayer.apskradio.packetlevel

ApskScalarRadioMedium

compound module

This radio medium model provides a hypothetical radio that simply uses one of the well-known modulations without utilizing other techiques such as forward error correction, interleaving, spreading, etc. It must be used in conjunction with the ApskScalarRadio model.

See also: ApskScalarRadio, ScalarAnalogModel, ApskScalarTransmitter, ApskScalarReceiver.

IPropagation IAnalogModel IBackgroundNoise IPathLoss IObstacleLoss IMediumLimitCache ICommunicationCache INeighborCache

Inheritance diagram

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

Extends

Name Type Description
RadioMedium compound module

The medium model describes the shared physical medium where communication takes place. It keeps track of radios, noise sources, ongoing transmissions, background noise, and other ongoing noises. The medium computes when, where and how transmissions and noises arrive at receivers. It also efficiently provides the set of interfering transmissions and noises for the receivers.

Parameters

Name Type Default value Description
physicalEnvironmentModule string "physicalEnvironment"

module path of the physical environment model

signalAnalogRepresentation string "scalar"
rangeFilter string ""

filter parameters that control when signals are sent to receiver radios

radioModeFilter bool false

when enabled the radio medium doesn't send signals to a radio if it's neither in receiver nor in transceiver mode

listeningFilter bool false

when enabled the radio medium doesn't send signals to a radio if it listens on the channel in incompatible mode (e.g. different carrier frequency and bandwidth, different modulation)

macAddressFilter bool false

when enabled the radio medium doesn't send signals to a radio if it the destination mac address differs

recordCommunicationLog bool false

logging parameters

Properties

Name Value Description
class RadioMedium
display i=misc/sun

Signals

Name Type Unit
radioRemoved
signalDepartureStarted
radioAdded
signalArrivalStarted
signalAdded
signalDepartureEnded
signalRemoved
signalArrivalEnded

Unassigned submodule parameters

Name Type Default value Description
neighborCache.refillPeriod double

Source code

//
// This radio medium model provides a hypothetical radio that simply uses one of
// the  well-known modulations without utilizing other techiques such as forward
// error correction, interleaving, spreading, etc. It must be used in
// conjunction with the ~ApskScalarRadio model.
//
// @see ~ApskScalarRadio, ~ScalarAnalogModel, ~ApskScalarTransmitter,
// ~ApskScalarReceiver.
//
module ApskScalarRadioMedium extends RadioMedium
{
    parameters:
        analogModel.typename = default("ScalarAnalogModel");
        backgroundNoise.typename = default("IsotropicScalarBackgroundNoise");
}

File: src/inet/physicallayer/apskradio/packetlevel/ApskScalarRadioMedium.ned