![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
hg
Dependencies: LoRaTransmitter mbed BME280 SX1272Lib
main.h@0:cc2b234b6255, 2022-05-11 (annotated)
- Committer:
- aizakharov
- Date:
- Wed May 11 14:56:17 2022 +0000
- Revision:
- 0:cc2b234b6255
gkj
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
aizakharov | 0:cc2b234b6255 | 1 | /* |
aizakharov | 0:cc2b234b6255 | 2 | / _____) _ | | |
aizakharov | 0:cc2b234b6255 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
aizakharov | 0:cc2b234b6255 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
aizakharov | 0:cc2b234b6255 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
aizakharov | 0:cc2b234b6255 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
aizakharov | 0:cc2b234b6255 | 7 | ( C )2014 Semtech |
aizakharov | 0:cc2b234b6255 | 8 | |
aizakharov | 0:cc2b234b6255 | 9 | Description: Contains the callbacks for the IRQs and any application related details |
aizakharov | 0:cc2b234b6255 | 10 | |
aizakharov | 0:cc2b234b6255 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
aizakharov | 0:cc2b234b6255 | 12 | |
aizakharov | 0:cc2b234b6255 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
aizakharov | 0:cc2b234b6255 | 14 | */ |
aizakharov | 0:cc2b234b6255 | 15 | #ifndef __MAIN_H__ |
aizakharov | 0:cc2b234b6255 | 16 | #define __MAIN_H__ |
aizakharov | 0:cc2b234b6255 | 17 | |
aizakharov | 0:cc2b234b6255 | 18 | /* |
aizakharov | 0:cc2b234b6255 | 19 | * Callback functions prototypes |
aizakharov | 0:cc2b234b6255 | 20 | */ |
aizakharov | 0:cc2b234b6255 | 21 | /*! |
aizakharov | 0:cc2b234b6255 | 22 | * @brief Function to be executed on Radio Tx Done event |
aizakharov | 0:cc2b234b6255 | 23 | */ |
aizakharov | 0:cc2b234b6255 | 24 | void OnTxDone( void ); |
aizakharov | 0:cc2b234b6255 | 25 | |
aizakharov | 0:cc2b234b6255 | 26 | /*! |
aizakharov | 0:cc2b234b6255 | 27 | * @brief Function to be executed on Radio Rx Done event |
aizakharov | 0:cc2b234b6255 | 28 | */ |
aizakharov | 0:cc2b234b6255 | 29 | void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); |
aizakharov | 0:cc2b234b6255 | 30 | |
aizakharov | 0:cc2b234b6255 | 31 | /*! |
aizakharov | 0:cc2b234b6255 | 32 | * @brief Function executed on Radio Tx Timeout event |
aizakharov | 0:cc2b234b6255 | 33 | */ |
aizakharov | 0:cc2b234b6255 | 34 | void OnTxTimeout( void ); |
aizakharov | 0:cc2b234b6255 | 35 | |
aizakharov | 0:cc2b234b6255 | 36 | /*! |
aizakharov | 0:cc2b234b6255 | 37 | * @brief Function executed on Radio Rx Timeout event |
aizakharov | 0:cc2b234b6255 | 38 | */ |
aizakharov | 0:cc2b234b6255 | 39 | void OnRxTimeout( void ); |
aizakharov | 0:cc2b234b6255 | 40 | |
aizakharov | 0:cc2b234b6255 | 41 | /*! |
aizakharov | 0:cc2b234b6255 | 42 | * @brief Function executed on Radio Rx Error event |
aizakharov | 0:cc2b234b6255 | 43 | */ |
aizakharov | 0:cc2b234b6255 | 44 | void OnRxError( void ); |
aizakharov | 0:cc2b234b6255 | 45 | |
aizakharov | 0:cc2b234b6255 | 46 | /*! |
aizakharov | 0:cc2b234b6255 | 47 | * @brief Function executed on Radio Fhss Change Channel event |
aizakharov | 0:cc2b234b6255 | 48 | */ |
aizakharov | 0:cc2b234b6255 | 49 | void OnFhssChangeChannel( uint8_t channelIndex ); |
aizakharov | 0:cc2b234b6255 | 50 | |
aizakharov | 0:cc2b234b6255 | 51 | /*! |
aizakharov | 0:cc2b234b6255 | 52 | * @brief Function executed on CAD Done event |
aizakharov | 0:cc2b234b6255 | 53 | */ |
aizakharov | 0:cc2b234b6255 | 54 | void OnCadDone( void ); |
aizakharov | 0:cc2b234b6255 | 55 | |
aizakharov | 0:cc2b234b6255 | 56 | #endif // __MAIN_H__ |