Smartage application
Dependencies: BufferedSerial SX1276GenericLib USBDeviceHT mbed Crypto X_NUCLEO_IKS01A2
Fork of STM32L0_LoRa by
smartage/smartage.h
- Committer:
- marcozecchini
- Date:
- 2018-09-17
- Revision:
- 34:8393ded26b4f
- Parent:
- 24:bb733d746bda
File content as of revision 34:8393ded26b4f:
#ifndef __SX1276PINGPONG_H__ #define __SX1276PINGPONG_H__ #ifdef FEATURE_LORA void SendAndBack(uint8_t* str, uint8_t* empty_distance, uint8_t* temperature, bool tilt_status); void print_stuff(); #else #define SendAndBack(x) void() #endif /* * Callback functions prototypes */ /*! * @brief Function to be executed on Radio Tx Done event */ void OnTxDone(void *radio, void *userThisPtr, void *userData); /*! * @brief Function to be executed on Radio Rx Done event */ void OnRxDone(void *radio, void *userThisPtr, void *userData, uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); /*! * @brief Function executed on Radio Tx Timeout event */ void OnTxTimeout(void *radio, void *userThisPtr, void *userData); /*! * @brief Function executed on Radio Rx Timeout event */ void OnRxTimeout(void *radio, void *userThisPtr, void *userData); /*! * @brief Function executed on Radio Rx Error event */ void OnRxError(void *radio, void *userThisPtr, void *userData); /*! * @brief Function executed on Radio Fhss Change Channel event */ void OnFhssChangeChannel(void *radio, void *userThisPtr, void *userData, uint8_t channelIndex); /*! * @brief Function executed on CAD Done event */ void OnCadDone(void *radio, void *userThisPtr, void *userData); #endif // __MAIN_H__