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.
lgw_pkt_tx_s Struct Reference
Structure containing the configuration of a packet to send and a pointer to the payload. More...
#include <loragw_hal.h>
Data Fields | |
uint8_t | tx_mode |
uint32_t | count_us |
uint8_t | rf_chain |
int8_t | rf_power |
uint8_t | modulation |
uint8_t | bandwidth |
uint32_t | datarate |
uint8_t | coderate |
bool | invert_pol |
uint8_t | f_dev |
uint16_t | preamble |
bool | no_crc |
bool | no_header |
uint16_t | size |
uint8_t | payload [256] |
Detailed Description
Structure containing the configuration of a packet to send and a pointer to the payload.
Definition at line 231 of file loragw_hal.h.
Field Documentation
uint8_t bandwidth |
> modulation to use for the packet
Definition at line 238 of file loragw_hal.h.
uint8_t coderate |
> TX datarate (baudrate for FSK, SF for LoRa)
Definition at line 240 of file loragw_hal.h.
uint32_t count_us |
> select on what event/time the TX is triggered
Definition at line 234 of file loragw_hal.h.
uint32_t datarate |
> modulation bandwidth (LoRa only)
Definition at line 239 of file loragw_hal.h.
uint8_t f_dev |
> invert signal polarity, for orthogonal downlinks (LoRa only)
Definition at line 242 of file loragw_hal.h.
bool invert_pol |
> error-correcting code of the packet (LoRa only)
Definition at line 241 of file loragw_hal.h.
uint8_t modulation |
> TX power, in dBm
Definition at line 237 of file loragw_hal.h.
bool no_crc |
> set the preamble length, 0 for default
Definition at line 244 of file loragw_hal.h.
bool no_header |
> if true, do not send a CRC in the packet
Definition at line 245 of file loragw_hal.h.
uint8_t payload[256] |
> payload size in bytes
Definition at line 247 of file loragw_hal.h.
uint16_t preamble |
> frequency deviation, in kHz (FSK only)
Definition at line 243 of file loragw_hal.h.
uint8_t rf_chain |
> timestamp or delay in microseconds for TX trigger
Definition at line 235 of file loragw_hal.h.
int8_t rf_power |
> through which RF chain will the packet be sent
Definition at line 236 of file loragw_hal.h.
uint16_t size |
> if true, enable implicit header mode (LoRa), fixed length (FSK)
Definition at line 246 of file loragw_hal.h.
uint8_t tx_mode |
> center frequency of TX
Definition at line 233 of file loragw_hal.h.
Generated on Tue Jul 12 2022 22:19:22 by
