ns3::LoraTxParameters Struct Reference

Structure to collect all parameters that are used to compute the duration of a packet (excluding payload length). More...

#include "satellite-lora-phy-tx.h"

Public Attributes

double bandwidthHz = 125000
 Bandwidth in Hz. More...
 
double codingRate = 4.0 / 5
 Code rate. More...
 
bool crcEnabled = 1
 Whether Cyclic Redundancy Check is enabled. More...
 
bool headerDisabled = 0
 Whether to use implicit header mode. More...
 
bool lowDataRateOptimizationEnabled = 0
 Whether Low Data Rate Optimization is enabled. More...
 
uint32_t nPreamble = 8
 Number of preamble symbols. More...
 
uint8_t sf = 7
 Spreading Factor. More...
 

Detailed Description

Structure to collect all parameters that are used to compute the duration of a packet (excluding payload length).

Definition at line 33 of file satellite-lora-phy-tx.h.

Member Data Documentation

◆ bandwidthHz

double ns3::LoraTxParameters::bandwidthHz = 125000

◆ codingRate

double ns3::LoraTxParameters::codingRate = 4.0 / 5

◆ crcEnabled

bool ns3::LoraTxParameters::crcEnabled = 1

Whether Cyclic Redundancy Check is enabled.

Definition at line 40 of file satellite-lora-phy-tx.h.

Referenced by ns3::LorawanMac::GetOnAirTime(), ns3::LorawanMacGateway::Send(), and ns3::LorawanMacEndDeviceClassA::SendToPhy().

◆ headerDisabled

bool ns3::LoraTxParameters::headerDisabled = 0

Whether to use implicit header mode.

Definition at line 36 of file satellite-lora-phy-tx.h.

Referenced by ns3::LorawanMac::GetOnAirTime(), ns3::LorawanMacGateway::Send(), and ns3::LorawanMacEndDeviceClassA::SendToPhy().

◆ lowDataRateOptimizationEnabled

bool ns3::LoraTxParameters::lowDataRateOptimizationEnabled = 0

Whether Low Data Rate Optimization is enabled.

Definition at line 41 of file satellite-lora-phy-tx.h.

Referenced by ns3::LorawanMac::GetOnAirTime(), ns3::LorawanMacGateway::Send(), and ns3::LorawanMacEndDeviceClassA::SendToPhy().

◆ nPreamble

uint32_t ns3::LoraTxParameters::nPreamble = 8

◆ sf

uint8_t ns3::LoraTxParameters::sf = 7

The documentation for this struct was generated from the following file: