#include "ns3/command-line.h"
#include "ns3/config.h"
#include "ns3/core-module.h"
#include "ns3/forwarder-helper.h"
#include "ns3/gateway-lora-phy.h"
#include "ns3/hex-grid-position-allocator.h"
#include "ns3/log.h"
#include "ns3/lora-channel.h"
#include "ns3/lora-device-address-generator.h"
#include "ns3/lora-helper.h"
#include "ns3/lora-phy-helper.h"
#include "ns3/lorawan-mac-helper.h"
#include "ns3/mobility-helper.h"
#include "ns3/network-module.h"
#include "ns3/network-server-helper.h"
#include "ns3/periodic-sender-helper.h"
#include "ns3/periodic-sender.h"
#include "ns3/point-to-point-module.h"
#include "ns3/random-variable-stream.h"
#include "ns3/rectangle.h"
#include "ns3/string.h"
Go to the source code of this file.
Functions | |
void | OnDataRateChange (uint8_t oldDr, uint8_t newDr) |
Record a change in the data rate setting on an end device. | |
void | OnTxPowerChange (double oldTxPower, double newTxPower) |
Record a change in the transmission power setting on an end device. | |
void OnDataRateChange | ( | uint8_t | oldDr, |
uint8_t | newDr ) |
Record a change in the data rate setting on an end device.
oldDr | The previous data rate value. |
newDr | The updated data rate value. |
Definition at line 48 of file adr-example.cc.
References NS_LOG_DEBUG.
Record a change in the transmission power setting on an end device.
oldTxPower | The previous transmission power value. |
newTxPower | The updated transmission power value. |
Definition at line 60 of file adr-example.cc.
References NS_LOG_DEBUG.