Package: inet.physicallayer.wireless.ieee802154.packetlevel
Ieee802154NarrowbandScalarRadioMedium
compound module(no description)
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 |
recordTransmissionLog | bool | false |
logging parameters |
recordReceptionLog | bool | false |
when enabled the medium writes one line per reception into the communication log file |
Properties
Name | Value | Description |
---|---|---|
class | RadioMedium | |
display | i=misc/sun |
Signals
Name | Type | Unit |
---|---|---|
radioRemoved | ||
signalDepartureStarted | ||
radioAdded | ||
signalArrivalStarted | ||
signalAdded | ||
signalDepartureEnded | ||
signalRemoved | ||
signalArrivalEnded |
Scheduled messages (observed)
msg | kind | ctrl | tags | msgname | context |
---|---|---|---|---|---|
omnetpp::cMessage | 0 | removeNonInterferingTransmissions |
Direct method calls (observed)
call to | function | info |
---|---|---|
ApskErrorModel | inet::physicallayer::ApskErrorModel::computeBitErrorRate | computeBitErrorRate |
ApskErrorModel | inet::physicallayer::ApskErrorModel::computePacketErrorRate | computePacketErrorRate |
ApskErrorModel | inet::physicallayer::ApskErrorModel::computeSymbolErrorRate | computeSymbolErrorRate |
Ieee802154NarrowbandScalarRadioMedium | inet::physicallayer::RadioMedium::addTransmission | addTransmission |
Called methods (observed)
function | info | call from |
---|---|---|
inet::physicallayer::RadioMedium::addRadio | addRadio | Ieee802154NarrowbandScalarRadio |
inet::physicallayer::RadioMedium::addTransmission | addTransmission | Ieee802154NarrowbandScalarRadioMedium |
inet::physicallayer::RadioMedium::listenOnMedium | listenOnMedium | Ieee802154NarrowbandScalarRadio |
inet::physicallayer::RadioMedium::receivePacket | receivePacket | Ieee802154NarrowbandScalarRadio |
inet::physicallayer::RadioMedium::transmitPacket | transmitPacket | Ieee802154NarrowbandScalarRadio |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
clearTags | |
ErrorRateInd | addTagIfAbsent |
PacketProtocolTag | addTag, getTag |
SignalBitrateReq | findTag |
SignalPowerInd | addTagIfAbsent |
SignalPowerReq | findTag |
SignalTimeInd | addTagIfAbsent |
SnirInd | addTagIfAbsent |
Unassigned submodule parameters
Name | Type | Default value | Description |
---|---|---|---|
neighborCache.refillPeriod | double |
Source code
module Ieee802154NarrowbandScalarRadioMedium extends RadioMedium { parameters: backgroundNoise.typename = default("IsotropicScalarBackgroundNoise"); mediumLimitCache.centerFrequency = 2450 MHz; // 802.15.4-2006, page 266 pathLoss.typename = default("BreakpointPathLoss"); pathLoss.breakpointDistance = 8 m; pathLoss.l01 = 40.2; pathLoss.alpha1 = 2; pathLoss.l02 = 58.5; pathLoss.alpha2 = 3.3; // Reflects the thermal noise for the receiver sensitivity // TODO couple with sensitivity backgroundNoise.power = default(-96.616dBm); backgroundNoise.dimensions = default("time"); }File: src/inet/physicallayer/wireless/ieee802154/packetlevel/Ieee802154NarrowbandScalarRadioMedium.ned