#include "ns3/core-module.h"#include "ns3/lorawan-module.h"#include "ns3/mobility-helper.h"#include "ns3/point-to-point-helper.h"Go to the source code of this file.
Functions | |
| void | ChangeEndDevicePosition (Ptr< Node > endDevice, bool inRange) |
| Set the position of an end device as either in range or out of range. | |
| void | OnMacPacketOutcome (uint8_t transmissions, bool successful, Time firstAttempt, Ptr< Packet > packet) |
| Record the exit status of a MAC layer packet retransmission process of an end device. | |
| void | OnPhySentPacket (Ptr< const Packet > packet, uint32_t index) |
| Record a packet TX start by the PHY layer of an end device. | |
Variables | |
| int | nGateways = 1 |
| Number of gateway nodes to create. | |
| double | simulationTimeSeconds = 3600 |
| Scenario duration (s) in simulated time. | |
Set the position of an end device as either in range or out of range.
| endDevice | A pointer to the Node of the end device. |
| inRange | Whether to set the end device in range or out of range. |
Definition at line 80 of file frame-counter-update.cc.
References NS_LOG_INFO.
| void OnMacPacketOutcome | ( | uint8_t | transmissions, |
| bool | successful, | ||
| Time | firstAttempt, | ||
| Ptr< Packet > | packet ) |
Record the exit status of a MAC layer packet retransmission process of an end device.
| transmissions | Number of transmissions attempted during the process. |
| successful | Whether the retransmission procedure was successful. |
| firstAttempt | Timestamp of the initial transmission attempt. |
| packet | The packet being retransmitted. |
Definition at line 61 of file frame-counter-update.cc.
References NS_LOG_INFO.
Record a packet TX start by the PHY layer of an end device.
| packet | The packet being transmitted. |
| index | Id of end device transmitting the packet. |
Definition at line 36 of file frame-counter-update.cc.
References ns3::lorawan::LoraFrameHeader::GetFCnt(), and NS_LOG_DEBUG.
| int nGateways = 1 |
Number of gateway nodes to create.
Definition at line 26 of file frame-counter-update.cc.
| double simulationTimeSeconds = 3600 |
Scenario duration (s) in simulated time.
Definition at line 27 of file frame-counter-update.cc.