File: NetworkInterfaces/MFCore/AirFrame.msg
C++ definition: click here
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).
This component has been taken over from Mobility Framework 1.0a5.
TODO: As soon as opp_msgc also supports pointers we should replace the id with a pointer to the nodes coordinates itself.
Author: Marc Loebbers
The following diagram shows part of the inheritance hierarchy. Unresolved types are missing from the diagram. Click here to see the full picture.
Name | Type | Description |
---|---|---|
pSend | double | Power with which this packet is transmitted |
channelNumber | int | Channel on which the packet is sent |
duration | double | Time it takes to transmit the packet, in seconds! |
bitrate | double | |
senderPos | Coord |
message AirFrame { fields: double pSend; // Power with which this packet is transmitted int channelNumber; // Channel on which the packet is sent double duration; // Time it takes to transmit the packet, in seconds! double bitrate; Coord senderPos; };