Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
loramac_tx_message_t Struct Reference
Stack level TX message structure. More...
#include <lorawan_data_structures.h>
Data Fields | |
| bool | tx_ongoing |
| TX Ongoing flag. | |
| uint8_t | port |
| Application Port Number. | |
| mcps_type_t | type |
| Message type. | |
| uint8_t | fport |
| int8_t | data_rate |
| uint8_t | nb_trials |
| uint8_t | f_buffer [MBED_CONF_LORA_TX_MAX_SIZE] |
| Payload data. | |
| uint16_t | f_buffer_size |
| Payload size. | |
| uint16_t | pending_size |
| Pending data size. | |
Detailed Description
Stack level TX message structure.
Definition at line 847 of file lorawan_data_structures.h.
Field Documentation
| int8_t data_rate |
Uplink datarate, if ADR is off.
Definition at line 875 of file lorawan_data_structures.h.
| uint8_t f_buffer[MBED_CONF_LORA_TX_MAX_SIZE] |
| uint16_t f_buffer_size |
Payload size.
The size of the frame payload.
Definition at line 908 of file lorawan_data_structures.h.
| uint8_t fport |
Frame port field. Must be set if the payload is not empty. Use the application-specific frame port values: [1...223].
LoRaWAN Specification V1.0.2, chapter 4.3.2.
Definition at line 870 of file lorawan_data_structures.h.
| uint8_t nb_trials |
The number of trials to transmit the frame, if the LoRaMAC layer did not receive an acknowledgment. The MAC performs a datarate adaptation according to the LoRaWAN Specification V1.0.2, chapter 18.4, as in the following table:
Transmission nb | Data Rate ----------------|----------- 1 (first) | DR 2 | DR 3 | max(DR-1,0) 4 | max(DR-1,0) 5 | max(DR-2,0) 6 | max(DR-2,0) 7 | max(DR-3,0) 8 | max(DR-3,0)
Note that if nb_trials is set to 1 or 2, the MAC will not decrease the datarate, if the LoRaMAC layer did not receive an acknowledgment.
Definition at line 896 of file lorawan_data_structures.h.
| uint16_t pending_size |
Pending data size.
Definition at line 913 of file lorawan_data_structures.h.
| uint8_t port |
Application Port Number.
Definition at line 857 of file lorawan_data_structures.h.
| bool tx_ongoing |
TX Ongoing flag.
Definition at line 852 of file lorawan_data_structures.h.
Message type.
Definition at line 862 of file lorawan_data_structures.h.
Generated on Tue Aug 9 2022 00:37:34 by
1.7.2