Package: inet.physicallayer.apskradio.packetlevel
APSKDimensionalTransmitter
compound moduleThis transmitter model produces transmissions that use dimensional transmission power (that changes over time and/or frequency) in their analog representation and the configured modulation.
See also APSKDimensionalReceiver, APSKDimensionalRadio, APSKDimensionalRadioMedium, and APSKDimensionalAnalogModel.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
NarrowbandTransmitterBase | compound module |
This module servces as a base module for narrowband transmitter models. |
Parameters
Name | Type | Default value | Description |
---|---|---|---|
preambleDuration | double |
preamble duration |
|
headerBitLength | 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 |
|
carrierFrequency | 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 |
|
modulation | string | "BPSK" |
"BPSK", "16-QAM", "256-QAM" |
dimensions | string | "time" |
dimensions of power: time and/or frequency |
timeGains | string | "0% 0dB 100% 0dB" |
sequence of time and gain pairs; time is in [%] or [s], negative time measures from the end; gain is in [dB] or [0..1]; default value is a flat signal |
frequencyGains | string | "0% 0dB 100% 0dB" |
sequence of frequency and gain pairs; frequency is in [%] or [Hz], negative frequency measures from the end; gain is in [dB] or [0..1]; default value is a flat signal |
interpolationMode | string | "sample-hold" |
Properties
Name | Value | Description |
---|---|---|
display | i=block/wtx | |
class | APSKDimensionalTransmitter |
Source code
// // 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. // // See also ~APSKDimensionalReceiver, ~APSKDimensionalRadio, // ~APSKDimensionalRadioMedium, and ~APSKDimensionalAnalogModel. // module APSKDimensionalTransmitter extends NarrowbandTransmitterBase { parameters: string dimensions = default("time"); // dimensions of power: time and/or frequency string timeGains = default("0% 0dB 100% 0dB"); // sequence of time and gain pairs; time is in [%] or [s], negative time measures from the end; gain is in [dB] or [0..1]; default value is a flat signal string frequencyGains = default("0% 0dB 100% 0dB"); // sequence of frequency and gain pairs; frequency is in [%] or [Hz], negative frequency measures from the end; gain is in [dB] or [0..1]; default value is a flat signal string interpolationMode @enum("linear","sample-hold") = default("sample-hold"); modulation = default("BPSK"); @class(APSKDimensionalTransmitter); }File: src/inet/physicallayer/apskradio/packetlevel/APSKDimensionalTransmitter.ned