NarrowbandTransmitterBase

Package: inet.physicallayer.wireless.common.base.packetlevel

NarrowbandTransmitterBase

compound module

This module servces as a base module for narrowband transmitter models.

Inheritance diagram

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

Known subclasses

Name Type Description
ApskScalarTransmitter compound module

This transmitter model produces transmissions that have scalar transmission power in their analog representation and the configured modulation.

DimensionalTransmitterBase compound module

This transmitter model produces transmissions that use dimensional transmission power (that changes over time and/or frequency) in their analog representation and the configured modulation.

Ieee80211TransmitterBase compound module

This transmitter model serves as the base module for IEEE 802.11 transmitters. It supports switching channels, configuring different operation modes, and preamble modes.

Ieee802154NarrowbandScalarTransmitter compound module (no description)

Parameters

Name Type Default value Description
preambleDuration double

preamble duration

headerLength int

number of header bits added to the length of the MAC frame

bitrate double

the bitrate of the transmitter is used to compute the duration of the transmission

power double

transmission power

centerFrequency double

center frequency of the band where the transmitter transmits on the medium

bandwidth double

bandwidth of the band where the transmitter transmits on the medium

codeRate double 1
modulation string

"BPSK", "16-QAM", "256-QAM"

Properties

Name Value Description
display i=block/wtx

Source code

//
// This module servces as a base module for narrowband transmitter models.
//
module NarrowbandTransmitterBase like ITransmitter
{
    parameters:
        double preambleDuration @unit(s);  // preamble duration
        int headerLength @unit(b);   // number of header bits added to the length of the MAC frame
        double bitrate @unit(bps);         // the bitrate of the transmitter is used to compute the duration of the transmission
        double power @unit(W);             // transmission power
        double centerFrequency @unit(Hz); // center frequency of the band where the transmitter transmits on the medium
        double bandwidth @unit(Hz);        // bandwidth of the band where the transmitter transmits on the medium
        double codeRate = default(1);
        string modulation;                 // "BPSK", "16-QAM", "256-QAM"
        @display("i=block/wtx");
}
File: src/inet/physicallayer/wireless/common/base/packetlevel/NarrowbandTransmitterBase.ned