SensorTile Dreamers
/
LoRa_Rx
LoRa Protocol Ricezione
Fork of SX1272PingPong by
Embed:
(wiki syntax)
Show/hide line numbers
main.h
00001 /* 00002 / _____) _ | | 00003 ( (____ _____ ____ _| |_ _____ ____| |__ 00004 \____ \| ___ | (_ _) ___ |/ ___) _ \ 00005 _____) ) ____| | | || |_| ____( (___| | | | 00006 (______/|_____)_|_|_| \__)_____)\____)_| |_| 00007 ( C )2014 Semtech 00008 00009 Description: Contains the callbacks for the IRQs and any application related details 00010 00011 License: Revised BSD License, see LICENSE.TXT file include in the project 00012 00013 Maintainer: Miguel Luis and Gregory Cristian 00014 */ 00015 #ifndef __MAIN_H__ 00016 #define __MAIN_H__ 00017 00018 /* 00019 * Callback functions prototypes 00020 */ 00021 /*! 00022 * @brief Function to be executed on Radio Tx Done event 00023 */ 00024 void OnTxDone( void ); 00025 00026 /*! 00027 * @brief Function to be executed on Radio Rx Done event 00028 */ 00029 void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); 00030 00031 /*! 00032 * @brief Function executed on Radio Tx Timeout event 00033 */ 00034 void OnTxTimeout( void ); 00035 00036 /*! 00037 * @brief Function executed on Radio Rx Timeout event 00038 */ 00039 void OnRxTimeout( void ); 00040 00041 /*! 00042 * @brief Function executed on Radio Rx Error event 00043 */ 00044 void OnRxError( void ); 00045 00046 /*! 00047 * @brief Function executed on Radio Fhss Change Channel event 00048 */ 00049 void OnFhssChangeChannel( uint8_t channelIndex ); 00050 00051 /*! 00052 * @brief Function executed on CAD Done event 00053 */ 00054 void OnCadDone( void ); 00055 00056 #endif // __MAIN_H__
Generated on Mon Jul 18 2022 01:51:30 by 1.7.2