ApskModulator

Package: inet.physicallayer.wireless.apsk.bitlevel

simple module ApskModulator

Part of a simple hypothetical layered transmitter. It computes the symbol domain representation from the bit domain representation by applying the configured modulation.

See also: ApskDemodulator, ApskLayeredTransmitter.

inet.physicallayer.wireless.apsk.bitlevel.ApskModulatorApskModulatorsimple

Usage diagram

Inheritance diagram

Used in compound modules

Name

Type

Description

ApskLayeredTransmitter

compound module

This transmitter model is part of a simple hypothetical layered radio. It produces detailed transmissions that have a separate representation for all simulated domains. The levelOfDetail parameter controls which domains are actually simulated, but all parameters relevant to the error model are always set on the transmission.

Extends

Name

Type

Description

SimpleModule

simple module

Base module for all INET simple 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

modulation

string

BPSK, QPSK, QAM-16, QAM-64, QAM-256, etc. (see ApskModulationBase::findModulation)

Properties

Name

Value

Description

class

ApskModulator

display

i=block/mac

Source code

//
// Part of a simple hypothetical layered transmitter. It computes
// the symbol domain representation from the bit domain representation by applying
// the configured modulation.
//
// @see ~ApskDemodulator, ~ApskLayeredTransmitter.
//
simple ApskModulator extends SimpleModule like IModulator
{
    parameters:
        @class(ApskModulator);
        string modulation; // BPSK, QPSK, QAM-16, QAM-64, QAM-256, etc. (see ApskModulationBase::findModulation)
        @display("i=block/mac");
}

File: src/inet/physicallayer/wireless/apsk/bitlevel/ApskModulator.ned