SX1278 RA-01, RA-02 LoRa library

Embed: (wiki syntax)

« Back to documentation index

RadioFskPacketHandler_t Struct Reference

RadioFskPacketHandler_t Struct Reference

Radio FSK packet handler state Contains information about an FSK packet and various metadata. More...

#include <sx1278.h>

Data Fields

uint8_t PreambleDetected
 Set to true (1) when a Preamble is detected, otherwise false (0).
uint8_t SyncWordDetected
 Set to true (1) when a SyncWord is detected, otherwise false (0).
int8_t RssiValue
 Storage for RSSI value of the received signal.
int32_t AfcValue
 Automated frequency correction value.
uint8_t RxGain
 LNA gain value (dbm).
uint16_t Size
 Size of the received data in bytes.
uint16_t NbBytes
 Keeps track of number of bytes already read from the RX FIFO.
uint8_t FifoThresh
 Stores the FIFO threshold value.
uint8_t ChunkSize
 Defines the size of a chunk of outgoing buffer written to the FIFO at a unit time.

Detailed Description

Radio FSK packet handler state Contains information about an FSK packet and various metadata.

Definition at line 318 of file sx1278.h.


Field Documentation

int32_t AfcValue

Automated frequency correction value.

Definition at line 338 of file sx1278.h.

uint8_t ChunkSize

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 367 of file sx1278.h.

uint8_t FifoThresh

Stores the FIFO threshold value.

Definition at line 358 of file sx1278.h.

uint16_t NbBytes

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

Definition at line 353 of file sx1278.h.

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

Definition at line 323 of file sx1278.h.

int8_t RssiValue

Storage for RSSI value of the received signal.

Definition at line 333 of file sx1278.h.

uint8_t RxGain

LNA gain value (dbm).

Definition at line 343 of file sx1278.h.

uint16_t Size

Size of the received data in bytes.

Definition at line 348 of file sx1278.h.

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

Definition at line 328 of file sx1278.h.