Structure to collect all parameters that are used to compute the duration of a packet (excluding payload length). More...
#include "lora-phy.h"
Public Attributes | |
double | bandwidthHz = 125000 |
Bandwidth in Hz. | |
uint8_t | codingRate = 1 |
Code rate (obtained as 4/(codingRate+4)) | |
bool | crcEnabled = true |
Whether Cyclic Redundancy Check (CRC) is enabled. | |
bool | headerDisabled = false |
Whether to use implicit header mode. | |
bool | lowDataRateOptimizationEnabled = false |
Whether low data rate optimization is enabled. | |
uint32_t | nPreamble = 8 |
Number of preamble symbols. | |
uint8_t | sf = 7 |
Spreading Factor. | |
Structure to collect all parameters that are used to compute the duration of a packet (excluding payload length).
Definition at line 48 of file lora-phy.h.
double ns3::lorawan::LoraTxParameters::bandwidthHz = 125000 |
Bandwidth in Hz.
Definition at line 53 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetTSym().
uint8_t ns3::lorawan::LoraTxParameters::codingRate = 1 |
Code rate (obtained as 4/(codingRate+4))
Definition at line 52 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetOnAirTime().
bool ns3::lorawan::LoraTxParameters::crcEnabled = true |
Whether Cyclic Redundancy Check (CRC) is enabled.
Definition at line 55 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetOnAirTime().
bool ns3::lorawan::LoraTxParameters::headerDisabled = false |
Whether to use implicit header mode.
Definition at line 51 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetOnAirTime().
bool ns3::lorawan::LoraTxParameters::lowDataRateOptimizationEnabled = false |
Whether low data rate optimization is enabled.
Definition at line 56 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetOnAirTime().
uint32_t ns3::lorawan::LoraTxParameters::nPreamble = 8 |
Number of preamble symbols.
Definition at line 54 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), and ns3::lorawan::LoraPhy::GetOnAirTime().
uint8_t ns3::lorawan::LoraTxParameters::sf = 7 |
Spreading Factor.
Definition at line 50 of file lora-phy.h.
Referenced by TimeOnAirTest::DoRun(), PhyConnectivityTest::DoRun(), ns3::lorawan::LoraPhy::GetOnAirTime(), ns3::lorawan::LoraPhy::GetTSym(), ns3::lorawan::LoraChannel::Send(), ns3::lorawan::SimpleEndDeviceLoraPhy::Send(), and ns3::lorawan::SimpleGatewayLoraPhy::Send().