Fork of the Simple Ping-Pong demo application between two SX1272MB2xAs demo board. It's now a simple application demonstrating simple Rx (Receive) from a SX1272 boards.
Fork of SX1272PingPong by
main.h@16:263c47d59beb, 2017-03-13 (annotated)
- Committer:
- Antoine38
- Date:
- Mon Mar 13 09:56:13 2017 +0000
- Revision:
- 16:263c47d59beb
- Parent:
- 6:44752b4f8ab1
- Child:
- 21:03a7d7429cd1
Copyright
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GregCr | 4:5ece30264cd9 | 1 | /* |
GregCr | 4:5ece30264cd9 | 2 | / _____) _ | | |
GregCr | 4:5ece30264cd9 | 3 | ( (____ _____ ____ _| |_ _____ ____| |__ |
GregCr | 4:5ece30264cd9 | 4 | \____ \| ___ | (_ _) ___ |/ ___) _ \ |
GregCr | 4:5ece30264cd9 | 5 | _____) ) ____| | | || |_| ____( (___| | | | |
GregCr | 4:5ece30264cd9 | 6 | (______/|_____)_|_|_| \__)_____)\____)_| |_| |
GregCr | 6:44752b4f8ab1 | 7 | ( C )2014 Semtech |
GregCr | 4:5ece30264cd9 | 8 | |
GregCr | 6:44752b4f8ab1 | 9 | Description: Contains the callbacks for the IRQs and any application related details |
GregCr | 4:5ece30264cd9 | 10 | |
GregCr | 4:5ece30264cd9 | 11 | License: Revised BSD License, see LICENSE.TXT file include in the project |
GregCr | 4:5ece30264cd9 | 12 | |
GregCr | 4:5ece30264cd9 | 13 | Maintainer: Miguel Luis and Gregory Cristian |
Antoine38 | 16:263c47d59beb | 14 | Last update: Antoine Boisadam |
GregCr | 4:5ece30264cd9 | 15 | */ |
GregCr | 4:5ece30264cd9 | 16 | #ifndef __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 17 | #define __MAIN_H__ |
GregCr | 4:5ece30264cd9 | 18 | |
GregCr | 4:5ece30264cd9 | 19 | /* |
GregCr | 4:5ece30264cd9 | 20 | * Callback functions prototypes |
GregCr | 4:5ece30264cd9 | 21 | */ |
GregCr | 4:5ece30264cd9 | 22 | |
GregCr | 4:5ece30264cd9 | 23 | /*! |
GregCr | 4:5ece30264cd9 | 24 | * @brief Function to be executed on Radio Rx Done event |
GregCr | 4:5ece30264cd9 | 25 | */ |
GregCr | 4:5ece30264cd9 | 26 | void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr ); |
GregCr | 4:5ece30264cd9 | 27 | |
GregCr | 4:5ece30264cd9 | 28 | /*! |
GregCr | 4:5ece30264cd9 | 29 | * @brief Function executed on Radio Rx Timeout event |
GregCr | 4:5ece30264cd9 | 30 | */ |
GregCr | 4:5ece30264cd9 | 31 | void OnRxTimeout( void ); |
GregCr | 4:5ece30264cd9 | 32 | |
GregCr | 4:5ece30264cd9 | 33 | /*! |
GregCr | 4:5ece30264cd9 | 34 | * @brief Function executed on Radio Rx Error event |
GregCr | 4:5ece30264cd9 | 35 | */ |
GregCr | 4:5ece30264cd9 | 36 | void OnRxError( void ); |
GregCr | 4:5ece30264cd9 | 37 | |
GregCr | 4:5ece30264cd9 | 38 | /*! |
GregCr | 4:5ece30264cd9 | 39 | * @brief Function executed on Radio Fhss Change Channel event |
GregCr | 4:5ece30264cd9 | 40 | */ |
GregCr | 4:5ece30264cd9 | 41 | void OnFhssChangeChannel( uint8_t channelIndex ); |
GregCr | 4:5ece30264cd9 | 42 | |
GregCr | 4:5ece30264cd9 | 43 | /*! |
GregCr | 4:5ece30264cd9 | 44 | * @brief Function executed on CAD Done event |
GregCr | 4:5ece30264cd9 | 45 | */ |
GregCr | 4:5ece30264cd9 | 46 | void OnCadDone( void ); |
GregCr | 4:5ece30264cd9 | 47 | |
GregCr | 4:5ece30264cd9 | 48 | #endif // __MAIN_H__ |