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