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 usage relationships between types. Unresolved types are missing from the diagram.
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Name | Type | Description |
---|---|---|
pSend | double |
Power with which this packet is transmitted |
channelNumber | int |
Channel on which the packet is sent |
duration | simtime_t |
Time it takes to transmit the packet, in seconds |
bitrate | double | |
senderPos | Coord |
// // 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 // packet AirFrame { double pSend; // Power with which this packet is transmitted int channelNumber; // Channel on which the packet is sent simtime_t duration; // Time it takes to transmit the packet, in seconds double bitrate; Coord senderPos; }