RadioShuttle Lib for the STM32 L4 Heltec Board
Dependents: Turtle_RadioShuttle
GenericPingPong.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 __SX1276PINGPONG_H__ 00016 #define __SX1276PINGPONG_H__ 00017 00018 #ifdef FEATURE_LORA_PING_PONG 00019 int SX1276PingPong(void); 00020 #else 00021 #define SX1276PingPong(x) void() 00022 #endif 00023 /* 00024 * Callback functions prototypes 00025 */ 00026 /*! 00027 * @brief Function to be executed on Radio Tx Done event 00028 */ 00029 void OnTxDone(void *radio, void *userThisPtr, void *userData); 00030 00031 /*! 00032 * @brief Function to be executed on Radio Rx Done event 00033 */ 00034 void OnRxDone(void *radio, void *userThisPtr, void *userData, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); 00035 00036 /*! 00037 * @brief Function executed on Radio Tx Timeout event 00038 */ 00039 void OnTxTimeout(void *radio, void *userThisPtr, void *userData); 00040 00041 /*! 00042 * @brief Function executed on Radio Rx Timeout event 00043 */ 00044 void OnRxTimeout(void *radio, void *userThisPtr, void *userData); 00045 00046 /*! 00047 * @brief Function executed on Radio Rx Error event 00048 */ 00049 void OnRxError(void *radio, void *userThisPtr, void *userData); 00050 00051 /*! 00052 * @brief Function executed on Radio Fhss Change Channel event 00053 */ 00054 void OnFhssChangeChannel(void *radio, void *userThisPtr, void *userData, uint8_t channelIndex ); 00055 00056 /*! 00057 * @brief Function executed on CAD Done event 00058 */ 00059 void OnCadDone(void *radio, void *userThisPtr, void *userDataco); 00060 00061 #endif // __MAIN_H__
Generated on Mon Jul 18 2022 05:09:52 by 1.7.2