Smartage application
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2
Fork of STM32L0_LoRa by
smartage.h
00001 #ifndef __SX1276PINGPONG_H__ 00002 #define __SX1276PINGPONG_H__ 00003 00004 #ifdef FEATURE_LORA 00005 void SendAndBack(uint8_t* str, uint8_t* empty_distance, uint8_t* temperature, bool tilt_status); 00006 void print_stuff(); 00007 #else 00008 #define SendAndBack(x) void() 00009 #endif 00010 /* 00011 * Callback functions prototypes 00012 */ 00013 /*! 00014 * @brief Function to be executed on Radio Tx Done event 00015 */ 00016 void OnTxDone(void *radio, void *userThisPtr, void *userData); 00017 00018 /*! 00019 * @brief Function to be executed on Radio Rx Done event 00020 */ 00021 void OnRxDone(void *radio, void *userThisPtr, void *userData, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); 00022 00023 /*! 00024 * @brief Function executed on Radio Tx Timeout event 00025 */ 00026 void OnTxTimeout(void *radio, void *userThisPtr, void *userData); 00027 00028 /*! 00029 * @brief Function executed on Radio Rx Timeout event 00030 */ 00031 void OnRxTimeout(void *radio, void *userThisPtr, void *userData); 00032 00033 /*! 00034 * @brief Function executed on Radio Rx Error event 00035 */ 00036 void OnRxError(void *radio, void *userThisPtr, void *userData); 00037 00038 /*! 00039 * @brief Function executed on Radio Fhss Change Channel event 00040 */ 00041 void OnFhssChangeChannel(void *radio, void *userThisPtr, void *userData, uint8_t channelIndex); 00042 00043 /*! 00044 * @brief Function executed on CAD Done event 00045 */ 00046 void OnCadDone(void *radio, void *userThisPtr, void *userData); 00047 00048 #endif // __MAIN_H__
Generated on Thu Jul 14 2022 21:27:01 by 1.7.2