Namespace simu5g
AirFrame
packetFormat of the messages that are sent to the channel
subclass if you want to create your own AirFrame message class
Usage diagram
The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
cPacket | (unknown -- not in documented files) |
Fields
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 | |
snr | double | |
lossRate | double | |
powRec | double |
Power in the receiver |
senderPos | Coord | |
carrierFrequency | double | |
bandwidth | double | |
modulationType | ModulationType |
Source code
// // Format of the messages that are sent to the channel // // subclass if you want to create your own ~AirFrame message class // packet AirFrame extends cPacket { 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; double snr; double lossRate; double powRec; // Power in the receiver inet::Coord senderPos; double carrierFrequency; double bandwidth; ModulationType modulationType; }File: src/stack/phy/packet/AirFrame.msg