RadioLib
Universal wireless communication library for Arduino
LoRaWANBand_t Struct Reference

Structure to save information about LoRaWAN band. More...

#include <LoRaWAN.h>

Public Attributes

uint8_t bandNum
 Identier for this band.
 
uint8_t bandType
 Whether the channels are fixed per specification, or dynamically allocated through the network (plus defaults)
 
uint32_t freqMin
 Minimum allowed frequency (coded in 100 Hz steps)
 
uint32_t freqMax
 Maximum allowed frequency (coded in 100 Hz steps)
 
uint8_t payloadLenMax [RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
 Array of allowed maximum application payload lengths for each data rate (N-value)
 
int8_t powerMax
 Maximum allowed output power in this band in dBm.
 
int8_t powerNumSteps
 Number of power steps in this band.
 
RadioLibTime_t dutyCycle
 Number of milliseconds per hour of allowed Time-on-Air.
 
RadioLibTime_t dwellTimeUp
 Maximum dwell time per uplink message in milliseconds.
 
RadioLibTime_t dwellTimeDn
 Maximum dwell time per downlink message in milliseconds.
 
bool txParamSupported
 Whether this band implements the MAC command TxParamSetupReq.
 
LoRaWANChannel_t txFreqs [3]
 A set of default uplink (TX) channels for dynamic bands.
 
LoRaWANChannel_t txJoinReq [3]
 A set of possible extra channels for the Join-Request message for dynamic bands.
 
uint8_t numTxSpans
 The number of TX channel spans for fixed bands.
 
LoRaWANChannelSpan_t txSpans [2]
 Default uplink (TX) channel spans for fixed bands, including Join-Request parameters.
 
LoRaWANChannelSpan_t rx1Span
 Default downlink (RX1) channel span for fixed bands.
 
uint8_t rx1DrTable [RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES][8]
 
LoRaWANChannel_t rx2
 Backup channel for downlink (RX2) window.
 
LoRaWANChannel_t txWoR [2]
 Relay channels for WoR uplink.
 
LoRaWANChannel_t txAck [2]
 Relay channels for ACK downlink.
 
uint8_t dataRates [RADIOLIB_LORAWAN_CHANNEL_NUM_DATARATES]
 The corresponding datarates, bandwidths and coding rates for DR index.
 

Detailed Description

Structure to save information about LoRaWAN band.


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