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