File: NetworkInterfaces/MFCore/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).
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 |
channelId | int | Channel on which the packet is sent |
duration | double | Time it takes to transmit the packet, in seconds! |
senderPos | Coord |
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! Coord senderPos; };