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_rx_s Struct Reference
Structure containing the metadata of a packet that was received and a pointer to the payload. More...
#include <loragw_hal.h>
Data Fields | |
uint8_t | if_chain |
uint8_t | status |
uint32_t | count_us |
uint8_t | rf_chain |
uint8_t | modulation |
uint8_t | bandwidth |
uint32_t | datarate |
uint8_t | coderate |
float | rssi |
float | snr |
float | snr_min |
float | snr_max |
uint16_t | crc |
uint16_t | size |
uint8_t | payload [256] |
Detailed Description
Structure containing the metadata of a packet that was received and a pointer to the payload.
Definition at line 206 of file loragw_hal.h.
Field Documentation
uint8_t bandwidth |
> modulation used by the packet
Definition at line 213 of file loragw_hal.h.
uint8_t coderate |
> RX datarate of the packet (SF for LoRa)
Definition at line 215 of file loragw_hal.h.
uint32_t count_us |
> status of the received packet
Definition at line 210 of file loragw_hal.h.
uint16_t crc |
> maximum packet SNR, in dB (LoRa only)
Definition at line 220 of file loragw_hal.h.
uint32_t datarate |
> modulation bandwidth (LoRa only)
Definition at line 214 of file loragw_hal.h.
uint8_t if_chain |
> central frequency of the IF chain
Definition at line 208 of file loragw_hal.h.
uint8_t modulation |
> through which RF chain the packet was received
Definition at line 212 of file loragw_hal.h.
uint8_t payload[256] |
> payload size in bytes
Definition at line 222 of file loragw_hal.h.
uint8_t rf_chain |
> internal concentrator counter for timestamping, 1 microsecond resolution
Definition at line 211 of file loragw_hal.h.
float rssi |
> error-correcting code of the packet (LoRa only)
Definition at line 216 of file loragw_hal.h.
uint16_t size |
> CRC that was received in the payload
Definition at line 221 of file loragw_hal.h.
float snr |
> average packet RSSI in dB
Definition at line 217 of file loragw_hal.h.
float snr_max |
> minimum packet SNR, in dB (LoRa only)
Definition at line 219 of file loragw_hal.h.
float snr_min |
> average packet SNR, in dB (LoRa only)
Definition at line 218 of file loragw_hal.h.
uint8_t status |
> by which IF chain was packet received
Definition at line 209 of file loragw_hal.h.
Generated on Tue Jul 12 2022 22:19:22 by
