Message AirFrame

File: core/basicMessages/AirFrame.msg

Format of the messages that are sent to the channel

subclass if you want to create your own AirFrame message class

This message format is used to send a packet from a snrEval module to the channel. All other snrEval modules that can 'hear' this message can evaluate noise, interference etc. from the information contained in this message:

If you need more fields for whatever reason, please do NOT create your own message! Just extend (subclass) this message format (see Omnet manual,chapter Messages - Inheritance among message classes).

Author: Marc Loebbers

Inheritance diagram:

The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.

Known subclasses:

AirFrame80211 (no description)

Fields:

Name Type Description
pSend double

Power with which this packet is transmitted

channelId int

Channel on which the packet is sent

duration double

Time it takes to transmit the packet, in seconds!

hostMove HostMove

position, start time of move, speed and direction at send time

Source code:

message AirFrame
{
    fields:
        double pSend;    // Power with which this packet is transmitted
        int channelId=1; // Channel on which the packet is sent
        double duration; // Time it takes to transmit the packet, in seconds!
	HostMove hostMove; // position, start time of move, speed and direction at send time 
};