Radio driver callback functions.
More...
#include <radio.h>
◆ TxDone
void(* RadioEvents_t::TxDone) (void) |
◆ TxTimeout
void(* RadioEvents_t::TxTimeout) (void) |
◆ RxDone
void(* RadioEvents_t::RxDone) (uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) |
Rx Done callback prototype.
- Parameters
-
payload | Received buffer pointer |
size | Received buffer size |
rssi | RSSI value computed while receiving the frame [dBm] |
snr | SNR value computed while receiving the frame [dB] FSK : N/A ( set to 0 ) LoRa: SNR value in dB |
- Examples
- Sensor-Gateway-Deepsleep\LoRa-Gateway\src\main.cpp.
◆ RxTimeout
void(* RadioEvents_t::RxTimeout) (void) |
◆ RxError
void(* RadioEvents_t::RxError) (void) |
◆ PreAmpDetect
void(* RadioEvents_t::PreAmpDetect) (void) |
Preamble detected callback prototype.
◆ FhssChangeChannel
void(* RadioEvents_t::FhssChangeChannel) (uint8_t currentChannel) |
FHSS Change Channel callback prototype.
- Parameters
-
currentChannel | Index number of the current channel |
◆ CadDone
void(* RadioEvents_t::CadDone) (bool channelActivityDetected) |
The documentation for this struct was generated from the following file: