Package: inet.physicallayer.wireless.noise
NoiseSource
compound moduleA network node that generates periodic noise transmissions that can interfere with wireless communications. Alternates between sleep and transmission states based on configurable intervals. Uses a ~NoiseTransmitter to create noise signals with specified duration, frequency, bandwidth, and power parameters. Useful for testing protocol robustness against interference in wireless networks.
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Used in
| Name | Type | Description |
|---|---|---|
| AnalogModelShowcaseNoiseNetwork | network | (no description) |
Extends
| Name | Type | Description |
|---|---|---|
| Module | compound module |
Base module for all INET compound modules. |
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 |
| radioMediumModule | string | "radioMedium" |
Module path of the medium module where this radio communicates |
| sleepInterval | double |
Properties
| Name | Value | Description |
|---|---|---|
| class | NoiseSource | |
| networkNode | ||
| display | i=block/wtx |
Gates
| Name | Direction | Size | Description |
|---|---|---|---|
| upperLayerIn | input | ||
| upperLayerOut | output | ||
| radioIn | input |
Source code
// // A network node that generates periodic noise transmissions that can interfere // with wireless communications. Alternates between sleep and transmission states // based on configurable intervals. Uses a ~NoiseTransmitter to create noise signals // with specified duration, frequency, bandwidth, and power parameters. Useful for // testing protocol robustness against interference in wireless networks. // module NoiseSource extends Module like IRadio { parameters: string radioMediumModule = default("radioMedium"); // Module path of the medium module where this radio communicates volatile double sleepInterval @unit(s); *.mobilityModule = default(absPath(".mobility")); @networkNode; @class(NoiseSource); @display("i=block/wtx"); gates: input upperLayerIn @labels(ILinkLayerFrame/down) @loose; output upperLayerOut @labels(ILinkLayerFrame/up) @loose; input radioIn @labels(IWirelessSignal) @loose; submodules: mobility: <default("StationaryMobility")> like IMobility { parameters: @display("p=100,100"); } antenna: <default("IsotropicAntenna")> like IAntenna { parameters: @display("p=100,200"); } transmitter: <default("NoiseTransmitter")> like ITransmitter { parameters: @display("p=100,300"); } }File: src/inet/physicallayer/wireless/noise/NoiseSource.ned