GenericReceiver¶
Package: inet.physicallayer.wireless.generic
compound module GenericReceiver
This receiver is part of the generic radio architecture.
See also: GenericTransmitter, GenericRadio.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
compound module |
Serves as a base module for SNIR receiver models. |
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 |
ignoreInterference |
bool |
false |
True means interfering transmissions are ignored when determining whether a reception is successful or not |
signalAnalogRepresentation |
string |
“scalar” |
|
snirThreshold |
double |
-100dB |
Reception is not successful if the SNIR is below this threshold (unsuccessful reception) |
snirThresholdMode |
string |
“mean” |
|
energyDetection |
double |
-85 dBm |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
GenericReceiver |
|
display |
i=block/wrx |
Source code¶
//
// This receiver is part of the generic radio architecture.
//
// @see ~GenericTransmitter, ~GenericRadio.
//
module GenericReceiver extends SnirReceiverBase like IReceiver
{
parameters:
double energyDetection @unit(dBm) = default(-85 dBm);
snirThresholdMode = "mean";
snirThreshold = -100dB; // To match the previous permissive behavior
*.ignoreInterference = default(this.ignoreInterference);
@class(GenericReceiver);
@display("i=block/wrx");
}
File: src/inet/physicallayer/wireless/generic/GenericReceiver.ned