Mbed OS Reference
Loading...
Searching...
No Matches
lora_mac_system_params_t Struct Reference

#include <lorawan_data_structures.h>

Data Fields

int8_t channel_tx_power
 
int8_t channel_data_rate
 
uint32_t max_rx_win_time
 
uint32_t recv_delay1
 
uint32_t recv_delay2
 
uint32_t join_accept_delay1
 
uint32_t join_accept_delay2
 
uint8_t nb_trans
 
uint8_t rx1_dr_offset
 
rx2_channel_params rx2_channel
 
uint8_t uplink_dwell_time
 
uint8_t downlink_dwell_time
 
float max_eirp
 
float antenna_gain
 
uint8_t max_duty_cycle
 
uint16_t aggregated_duty_cycle
 
bool adr_on
 

Detailed Description

The global MAC layer parameters.

Definition at line 159 of file lorawan_data_structures.h.

Field Documentation

◆ channel_tx_power

int8_t channel_tx_power

The TX power in channels.

Definition at line 163 of file lorawan_data_structures.h.

◆ channel_data_rate

int8_t channel_data_rate

The data rate in channels.

Definition at line 167 of file lorawan_data_structures.h.

◆ max_rx_win_time

uint32_t max_rx_win_time

LoRaMac maximum time a reception window stays open.

Definition at line 171 of file lorawan_data_structures.h.

◆ recv_delay1

uint32_t recv_delay1

Receive delay 1.

Definition at line 175 of file lorawan_data_structures.h.

◆ recv_delay2

uint32_t recv_delay2

Receive delay 2.

Definition at line 179 of file lorawan_data_structures.h.

◆ join_accept_delay1

uint32_t join_accept_delay1

Join accept delay 1.

Definition at line 183 of file lorawan_data_structures.h.

◆ join_accept_delay2

uint32_t join_accept_delay2

Join accept delay 1.

Definition at line 187 of file lorawan_data_structures.h.

◆ nb_trans

uint8_t nb_trans

The number of uplink messages repetitions for QOS set by network server in LinkADRReq mac command (unconfirmed messages only).

Definition at line 192 of file lorawan_data_structures.h.

◆ rx1_dr_offset

uint8_t rx1_dr_offset

The datarate offset between uplink and downlink on first window.

Definition at line 196 of file lorawan_data_structures.h.

◆ rx2_channel

rx2_channel_params rx2_channel

LoRaMAC 2nd reception window settings.

Definition at line 200 of file lorawan_data_structures.h.

◆ uplink_dwell_time

uint8_t uplink_dwell_time

The uplink dwell time configuration. 0: No limit, 1: 400ms

Definition at line 204 of file lorawan_data_structures.h.

◆ downlink_dwell_time

uint8_t downlink_dwell_time

The downlink dwell time configuration. 0: No limit, 1: 400ms

Definition at line 208 of file lorawan_data_structures.h.

◆ max_eirp

float max_eirp

The maximum possible EIRP.

Definition at line 212 of file lorawan_data_structures.h.

◆ antenna_gain

float antenna_gain

The antenna gain of the node.

Definition at line 216 of file lorawan_data_structures.h.

◆ max_duty_cycle

uint8_t max_duty_cycle

Maximum duty cycle

Remarks
Possibility to shutdown the device.

Definition at line 222 of file lorawan_data_structures.h.

◆ aggregated_duty_cycle

uint16_t aggregated_duty_cycle

Aggregated duty cycle management

Definition at line 226 of file lorawan_data_structures.h.

◆ adr_on

bool adr_on

LoRaMac ADR control status

Definition at line 231 of file lorawan_data_structures.h.