Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

radio_fsk_packet_handler Struct Reference

radio_fsk_packet_handler Struct Reference
[stack layer that controls MAC layer underneath]

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

Detailed Description

FSK packet handle.

Contains information about an FSK packet and various metadata.

Definition at line 189 of file LoRaRadio.h.


Field Documentation

int32_t afc_value

Automated frequency correction value.

Definition at line 208 of file LoRaRadio.h.

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 237 of file LoRaRadio.h.

uint8_t fifo_thresh

Stores the FIFO threshold value.

Definition at line 228 of file LoRaRadio.h.

uint16_t nb_bytes

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

Definition at line 223 of file LoRaRadio.h.

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

Definition at line 193 of file LoRaRadio.h.

int8_t rssi_value

Storage for RSSI value of the received signal.

Definition at line 203 of file LoRaRadio.h.

uint8_t rx_gain

LNA gain value (dbm).

Definition at line 213 of file LoRaRadio.h.

uint16_t size

Size of the received data in bytes.

Definition at line 218 of file LoRaRadio.h.

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

Definition at line 198 of file LoRaRadio.h.