Driver for the SX1276 RF Transceiver
Dependents: LoRa_PIR LoRaWAN-lmic-app SX1276PingPong LoRaWAN-lmic-app ... more
RadioEvents_t Struct Reference
Radio driver callback functions. More...
#include <radio.h>
Data Fields | |
void(* | TxDone )(void) |
Tx Done callback prototype. | |
void(* | TxTimeout )(void) |
Tx Timeout callback prototype. | |
void(* | RxDone )(uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr) |
Rx Done callback prototype. | |
void(* | RxTimeout )(void) |
Rx Timeout callback prototype. | |
void(* | RxError )(void) |
Rx Error callback prototype. | |
void(* | FhssChangeChannel )(uint8_t currentChannel) |
FHSS Change Channel callback prototype. | |
void(* | CadDone )(bool channelActivityDetected) |
CAD Done callback prototype. |
Detailed Description
Radio driver callback functions.
Definition at line 25 of file radio.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
Generated on Tue Jul 12 2022 20:53:59 by 1.7.2