radio_events Struct Reference
Radio driver callback functions. More...
#include <LoRaRadio.h>
Data Fields | |
mbed::Callback< void()> | tx_done |
Callback when Transmission is done. | |
mbed::Callback< void()> | tx_timeout |
Callback when Transmission is timed out. | |
mbed::Callback< void(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) | rx_done ) |
Rx Done callback prototype. | |
mbed::Callback< void()> | rx_timeout |
Callback when Reception is timed out. | |
mbed::Callback< void()> | rx_error |
Callback when Reception ends up in error. | |
mbed::Callback< void(uint8_t current_channel)> | fhss_change_channel |
FHSS Change Channel callback prototype. | |
mbed::Callback< void(bool channel_busy)> | cad_done |
CAD Done callback prototype. |
Detailed Description
Radio driver callback functions.
Definition at line 136 of file LoRaRadio.h.
Field Documentation
mbed::Callback<void(bool channel_busy)> cad_done |
CAD Done callback prototype.
- Parameters:
-
channel_busy True, if Channel activity detected.
Definition at line 181 of file LoRaRadio.h.
mbed::Callback<void(uint8_t current_channel)> fhss_change_channel |
FHSS Change Channel callback prototype.
- Parameters:
-
current_channel The index number of the current channel.
Definition at line 174 of file LoRaRadio.h.
mbed::Callback<void(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) rx_done) |
Rx Done callback prototype.
- Parameters:
-
payload Received buffer pointer. size Received buffer size. rssi RSSI value computed while receiving the frame [dBm]. snr Raw SNR value given by the radio hardware. FSK : N/A (set to 0) LoRa: SNR value in dB
Definition at line 157 of file LoRaRadio.h.
mbed::Callback<void()> rx_error |
Callback when Reception ends up in error.
Definition at line 167 of file LoRaRadio.h.
mbed::Callback<void()> rx_timeout |
Callback when Reception is timed out.
Definition at line 162 of file LoRaRadio.h.
mbed::Callback<void()> tx_done |
Callback when Transmission is done.
Definition at line 140 of file LoRaRadio.h.
mbed::Callback<void()> tx_timeout |
Callback when Transmission is timed out.
Definition at line 145 of file LoRaRadio.h.
Generated on Tue Jul 12 2022 12:22:49 by
