Ieee802154NarrowbandScalarRadioMedium¶
Package: inet.physicallayer.wireless.ieee802154.packetlevel
compound module Ieee802154NarrowbandScalarRadioMedium
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
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 |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
physicalEnvironmentModule |
string |
“physicalEnvironment” |
Module path of the physical environment model |
signalAnalogRepresentation |
string |
“scalar” |
|
rangeFilter |
string |
“” |
When either set to ‘interferenceRange’ or ‘communicationRange’ the radio medium doesn’t send signals to a radio if it’s outside the provided range |
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 an 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 the destination MAC address differs |
recordTransmissionLog |
bool |
false |
When enabled, the medium writes one line per transmission into the communication log file |
recordReceptionLog |
bool |
false |
When enabled, the medium writes one line per reception into the communication log file |
sameTransmissionStartTimeCheck |
string |
“error” |
Specifies what should happen if two transmissions start at the same moment |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
RadioMedium |
|
display |
i=misc/sun |
Signals¶
Name |
Type |
Unit |
Description |
|---|---|---|---|
radioAdded |
|||
radioRemoved |
|||
signalAdded |
|||
signalArrivalEnded |
|||
signalArrivalStarted |
|||
signalDepartureEnded |
|||
signalDepartureStarted |
|||
signalRemoved |
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 dB;
pathLoss.alpha1 = 2;
pathLoss.l02 = 58.5 dB;
pathLoss.alpha2 = 3.3;
// Reflects the thermal noise for the receiver sensitivity
// TODO couple with sensitivity
backgroundNoise.power = default(-96.616dBm);
}
File: src/inet/physicallayer/wireless/ieee802154/packetlevel/Ieee802154NarrowbandScalarRadioMedium.ned