34 #ifndef LORAWAN_SYSTEM_LORAWAN_DATA_STRUCTURES_H_    35 #define LORAWAN_SYSTEM_LORAWAN_DATA_STRUCTURES_H_    43 #ifndef lorawan_time_t    51 #define LORAMAC_MFR_LEN                             4    58 #define LORA_MAC_FRMPAYLOAD_OVERHEAD                13 // MHDR(1) + FHDR(7) + Port(1) + MIC(4)    63 #define LORA_MAX_NB_CHANNELS                        16    68 #define LORAMAC_PHY_MAXPAYLOAD                      255    70 #define LORAWAN_DEFAULT_QOS                         1    77 #if MBED_CONF_LORA_TX_MAX_SIZE > 255    78 #warning "Cannot set TX Max size more than MTU=255"    79 #define MBED_CONF_LORA_TX_MAX_SIZE              255   456         uint8_t fopts_len : 4;
   460         uint8_t fpending : 1;
   468         uint8_t adr_ack_req : 1;
   838     DEVICE_STATE_NOT_INITIALIZED,
   839     DEVICE_STATE_JOINING,
   841     DEVICE_STATE_CONNECTING,
   842     DEVICE_STATE_AWAITING_JOIN_ACCEPT,
   843     DEVICE_STATE_RECEIVING,
   844     DEVICE_STATE_CONNECTED,
   845     DEVICE_STATE_SCHEDULING,
   846     DEVICE_STATE_SENDING,
   847     DEVICE_STATE_AWAITING_ACK,
   848     DEVICE_STATE_STATUS_CHECK,
   849     DEVICE_STATE_SHUTDOWN
   920     uint8_t f_buffer[MBED_CONF_LORA_TX_MAX_SIZE];
   963     uint16_t pending_size;
   964     uint16_t prev_read_size;
  1288     uint32_t rx_window2_delay;
 timer_event_t rx_window1_timer
struct multicast_params_s * next
uint16_t f_buffer_size
Payload size. 
uint16_t pending_size
Pending data size. 
uint32_t downlink_counter
LoRaWAN downlink counter. 
uint32_t join_accept_delay2
multicast_params_t * multicast_channels
uint8_t max_ack_timeout_retries
lorawan_time_t aggregated_last_tx_time
uint32_t ul_frame_counter
bool is_repeater_supported
rx_msg_type
lora_mac_rx_message_type_t 
bool is_repeater_supported
mlme_type_t indication_type
timer_event_t backoff_timer
bool is_rx_window_enabled
lorawan_time_t last_join_tx_time
lora_mac_rx_message_by_type_t union 
device_states
End-device states. 
lora_mac_system_params_t sys_params
Stack level TX message structure. 
mcps_type_t type
Message type. 
Timer object description. 
lora_mac_mcps_indication_t 
rx_config_params_t rx_window1_config
uint32_t lorawan_time_t
Timer time variable definition. 
Contains data structures required by LoRaWANBase class. 
loramac_event_info_status_t status
uint32_t dl_frame_counter
uint32_t uplink_counter
LoRaWAN uplink counter. 
uint8_t ul_nb_rep_counter
#define LORAMAC_PHY_MAXPAYLOAD
Maximum PHY layer payload size for reception. 
enum device_states device_states_t
End-device states. 
uint8_t downlink_dwell_time
uint32_t dl_frame_counter
uint8_t join_request_trial_counter
uint8_t max_join_request_trials
bool is_ack_retry_timeout_expired
struct multicast_params_s multicast_params_t
struct lorawan_session lorawan_session_t
LoRaWAN session. 
uint16_t aggregated_duty_cycle
loramac_event_info_status_t status
uint8_t uplink_dwell_time
loramac_event_info_status_t
uint32_t higher_band_freq
mlme_type_t
LoRaMAC management services. 
bool is_node_ack_requested
loramac_event_info_status_t status
mcps_type_t
LoRaMAC data services. 
bool is_srv_ack_requested
bool active
True if the session is active. 
rx2_channel_params rx2_channel
uint8_t port
Application Port Number. 
uint32_t join_accept_delay1
timer_event_t ack_timeout_timer
uint32_t ul_frame_counter
bool is_last_tx_join_request
bool tx_ongoing
TX Ongoing flag. 
uint32_t rx_window1_delay
uint32_t window_timeout_ms
Default user application maximum data size for transmission. 
uint32_t dl_frame_counter
lorawan_time_t last_tx_time
lorawan_time_t mac_init_time
uint8_t ack_timeout_retry_counter