Hardware Abstraction Layer, permitting any LoRa application to use any LoRa radio chip
Dependents: alarm_slave alarm_master lora_p2p lorawan1v1 ... more
RadioEvents_t Struct Reference
Radio driver callback functions. More...
#include <radio.h>
Data Fields | |
void(* | TxDone_topHalf )(void) |
Tx Done callback prototype. | |
void(* | TxTimeout )(void) |
Tx Timeout callback prototype. | |
void(* | RxDone )(uint8_t size, float rssi, float 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 23 of file radio.h.
Field Documentation
void( * CadDone)(bool channelActivityDetected) |
void( * FhssChangeChannel)(uint8_t currentChannel) |
void( * RxDone)(uint8_t size, float rssi, float 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 [IN] curTime captured time at RxDone event occurance
void(* TxDone_topHalf)(void) |
Generated on Wed Jul 13 2022 17:56:01 by 1.7.2