#include <lorawan_data_structures.h>
Data Fields | |
rx_slot_t | rx_slot |
bool | is_nwk_public |
bool | is_repeater_supported |
bool | is_rx_window_enabled |
bool | is_nwk_joined |
bool | is_node_ack_requested |
bool | is_srv_ack_requested |
bool | is_dutycycle_on |
bool | is_last_tx_join_request |
bool | is_ack_retry_timeout_expired |
uint8_t | channel |
uint8_t | last_channel_idx |
uint8_t | ul_nb_rep_counter |
uint8_t | tx_buffer [255] |
uint16_t | tx_buffer_len |
uint8_t | rx_buffer [255] |
uint8_t | rx_buffer_len |
uint8_t | max_ack_timeout_retries |
uint8_t | ack_timeout_retry_counter |
uint8_t | max_join_request_trials |
uint8_t | join_request_trial_counter |
loramac_keys | keys |
uint16_t | dev_nonce |
uint32_t | net_id |
uint32_t | dev_addr |
uint32_t | ul_frame_counter |
uint32_t | dl_frame_counter |
uint32_t | adr_ack_counter |
uint32_t | rx_window1_delay |
lorawan_timers | timers |
lora_mac_system_params_t | sys_params |
rx_config_params_t | rx_window1_config |
multicast_params_t * | multicast_channels |
Global MAC layer configuration parameters
Definition at line 1135 of file lorawan_data_structures.h.
uint8_t ack_timeout_retry_counter |
Number of trials to get a frame acknowledged
Definition at line 1232 of file lorawan_data_structures.h.
uint32_t adr_ack_counter |
Counts the number of missed ADR acknowledgements
Definition at line 1280 of file lorawan_data_structures.h.
uint8_t channel |
Current channel index
Definition at line 1192 of file lorawan_data_structures.h.
uint32_t dev_addr |
Mote Address
Definition at line 1263 of file lorawan_data_structures.h.
uint16_t dev_nonce |
Device nonce is a random value extracted by issuing a sequence of RSSI measurements
Definition at line 1253 of file lorawan_data_structures.h.
uint32_t dl_frame_counter |
LoRaMAC frame counter. Each time a packet is received the counter is incremented. Only the 16 LSB bits are received
Definition at line 1275 of file lorawan_data_structures.h.
bool is_ack_retry_timeout_expired |
Indicates if the AckTimeout timer has expired or not
Definition at line 1187 of file lorawan_data_structures.h.
bool is_dutycycle_on |
Enables/Disables duty cycle management (Test only)
Definition at line 1177 of file lorawan_data_structures.h.
bool is_last_tx_join_request |
Set to true, if the last uplink was a join request
Definition at line 1182 of file lorawan_data_structures.h.
bool is_node_ack_requested |
If the node has sent a FRAME_TYPE_DATA_CONFIRMED_UP this variable indicates if the nodes needs to manage the server acknowledgement.
Definition at line 1166 of file lorawan_data_structures.h.
bool is_nwk_joined |
Indicates if the MAC layer has already joined a network.
Definition at line 1160 of file lorawan_data_structures.h.
bool is_nwk_public |
Indicates if the node is connected to a private or public network
Definition at line 1145 of file lorawan_data_structures.h.
bool is_repeater_supported |
Indicates if the node supports repeaters
Definition at line 1150 of file lorawan_data_structures.h.
bool is_rx_window_enabled |
Used for test purposes. Disables the opening of the reception windows.
Definition at line 1155 of file lorawan_data_structures.h.
bool is_srv_ack_requested |
If the server has sent a FRAME_TYPE_DATA_CONFIRMED_DOWN this variable indicates if the ACK bit must be set for the next transmission
Definition at line 1172 of file lorawan_data_structures.h.
uint8_t join_request_trial_counter |
Number of trials for the Join Request
Definition at line 1242 of file lorawan_data_structures.h.
loramac_keys keys |
Mac keys
Definition at line 1247 of file lorawan_data_structures.h.
uint8_t last_channel_idx |
Current channel index
Definition at line 1197 of file lorawan_data_structures.h.
uint8_t max_ack_timeout_retries |
Number of trials to get a frame acknowledged
Definition at line 1227 of file lorawan_data_structures.h.
uint8_t max_join_request_trials |
Maximum number of trials for the Join Request
Definition at line 1237 of file lorawan_data_structures.h.
multicast_params_t* multicast_channels |
Multicast channels linked list
Definition at line 1309 of file lorawan_data_structures.h.
uint32_t net_id |
Network ID ( 3 bytes )
Definition at line 1258 of file lorawan_data_structures.h.
uint8_t rx_buffer[255] |
Used for storing decrypted RX data.
Definition at line 1217 of file lorawan_data_structures.h.
uint8_t rx_buffer_len |
Length of the RX buffer
Definition at line 1222 of file lorawan_data_structures.h.
rx_slot_t rx_slot |
Holds the type of current Receive window slot
Definition at line 1140 of file lorawan_data_structures.h.
rx_config_params_t rx_window1_config |
Receive Window configurations for PHY layer
Definition at line 1303 of file lorawan_data_structures.h.
uint32_t rx_window1_delay |
LoRaMac reception windows delay
Definition at line 1287 of file lorawan_data_structures.h.
lora_mac_system_params_t sys_params |
LoRaMac parameters
Definition at line 1298 of file lorawan_data_structures.h.
lorawan_timers timers |
Timer objects and stored values
Definition at line 1293 of file lorawan_data_structures.h.
uint8_t tx_buffer[255] |
TX buffer used for encrypted outgoing frames
Definition at line 1207 of file lorawan_data_structures.h.
uint16_t tx_buffer_len |
Length of TX buffer
Definition at line 1212 of file lorawan_data_structures.h.
uint32_t ul_frame_counter |
LoRaMAC frame counter. Each time a packet is sent the counter is incremented. Only the 16 LSB bits are sent
Definition at line 1269 of file lorawan_data_structures.h.
uint8_t ul_nb_rep_counter |
Uplink messages repetitions counter
Definition at line 1202 of file lorawan_data_structures.h.