Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
RadioEvents_t Struct Reference
Radio driver callback functions. More...
#include <sx1278.h>
Data Fields | |
void(* | TxDone )(void) |
Callback when Transmission is done. | |
void(* | TxTimeout )(void) |
Callback when Transmission is timed out. | |
void(* | RxDone )(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) |
Rx Done callback prototype. | |
void(* | RxTimeout )(void) |
Callback when Reception is timed out. | |
void(* | RxError )(void) |
Callback when Reception ends up in error. | |
void(* | FhssChangeChannel )(uint8_t currentChannel) |
FHSS Change Channel callback prototype. | |
void(* | CadDone )(bool channelActivityDetected) |
CAD Done callback prototype. |
Detailed Description
Radio driver callback functions.
Reporting functions for upper layers. The radio driver reports various vital events to the upper controlling layers using callback functions provided by the upper layers at the initialization phase.
Definition at line 144 of file sx1278.h.
Field Documentation
void(* CadDone)(bool channelActivityDetected) |
void(* FhssChangeChannel)(uint8_t currentChannel) |
void(* 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 Raw SNR value given by the radio hardware FSK : N/A (set to 0) LoRa: SNR value in dB
void(* RxError)(void) |
void(* RxTimeout)(void) |
Generated on Tue Jul 12 2022 18:29:21 by
