Mbed OS Reference
Loading...
Searching...
No Matches
radio_fsk_packet_handler Struct Reference

FSK packet handle. More...

#include <LoRaRadio.h>

Data Fields

uint8_t preamble_detected
 Set to true (1) when a Preamble is detected, otherwise false (0). More...
 
uint8_t sync_word_detected
 Set to true (1) when a SyncWord is detected, otherwise false (0). More...
 
int16_t rssi_value
 Storage for RSSI value of the received signal. More...
 
int32_t afc_value
 Automated frequency correction value. More...
 
uint8_t rx_gain
 LNA gain value (dbm). More...
 
uint16_t size
 Size of the received data in bytes. More...
 
uint16_t nb_bytes
 Keeps track of number of bytes already read from the RX FIFO. More...
 
uint8_t fifo_thresh
 Stores the FIFO threshold value. More...
 
uint8_t chunk_size
 Defines the size of a chunk of outgoing buffer written to the FIFO at a unit time. More...
 

Detailed Description

FSK packet handle.

Contains information about an FSK packet and various metadata.

Definition at line 190 of file LoRaRadio.h.

Field Documentation

◆ preamble_detected

uint8_t preamble_detected

Set to true (1) when a Preamble is detected, otherwise false (0).

Definition at line 194 of file LoRaRadio.h.

◆ sync_word_detected

uint8_t sync_word_detected

Set to true (1) when a SyncWord is detected, otherwise false (0).

Definition at line 199 of file LoRaRadio.h.

◆ rssi_value

int16_t rssi_value

Storage for RSSI value of the received signal.

Definition at line 204 of file LoRaRadio.h.

◆ afc_value

int32_t afc_value

Automated frequency correction value.

Definition at line 209 of file LoRaRadio.h.

◆ rx_gain

uint8_t rx_gain

LNA gain value (dbm).

Definition at line 214 of file LoRaRadio.h.

◆ size

uint16_t size

Size of the received data in bytes.

Definition at line 219 of file LoRaRadio.h.

◆ nb_bytes

uint16_t nb_bytes

Keeps track of number of bytes already read from the RX FIFO.

Definition at line 224 of file LoRaRadio.h.

◆ fifo_thresh

uint8_t fifo_thresh

Stores the FIFO threshold value.

Definition at line 229 of file LoRaRadio.h.

◆ chunk_size

uint8_t chunk_size

Defines the size of a chunk of outgoing buffer written to the FIFO at a unit time.

For example, if the size of the data exceeds the FIFO limit, a certain sized chunk is written to the FIFO. Later, a FIFO-level interrupt enables writing of the remaining data to the FIFO chunk by chunk until transmission is complete.

Definition at line 238 of file LoRaRadio.h.