Peer to peer connection to switch on a led on slave

Dependencies:   SX1272Lib mbed

Committer:
radnoumane
Date:
Wed Mar 21 13:16:28 2018 +0000
Revision:
0:eba1236b9395
first commit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
radnoumane 0:eba1236b9395 1 /*
radnoumane 0:eba1236b9395 2 / _____) _ | |
radnoumane 0:eba1236b9395 3 ( (____ _____ ____ _| |_ _____ ____| |__
radnoumane 0:eba1236b9395 4 \____ \| ___ | (_ _) ___ |/ ___) _ \
radnoumane 0:eba1236b9395 5 _____) ) ____| | | || |_| ____( (___| | | |
radnoumane 0:eba1236b9395 6 (______/|_____)_|_|_| \__)_____)\____)_| |_|
radnoumane 0:eba1236b9395 7 ( C )2014 Semtech
radnoumane 0:eba1236b9395 8
radnoumane 0:eba1236b9395 9 Description: Contains the callbacks for the IRQs and any application related details
radnoumane 0:eba1236b9395 10
radnoumane 0:eba1236b9395 11 License: Revised BSD License, see LICENSE.TXT file include in the project
radnoumane 0:eba1236b9395 12
radnoumane 0:eba1236b9395 13 Maintainer: Miguel Luis and Gregory Cristian
radnoumane 0:eba1236b9395 14 */
radnoumane 0:eba1236b9395 15 #ifndef __MAIN_H__
radnoumane 0:eba1236b9395 16 #define __MAIN_H__
radnoumane 0:eba1236b9395 17
radnoumane 0:eba1236b9395 18 /*
radnoumane 0:eba1236b9395 19 * Callback functions prototypes
radnoumane 0:eba1236b9395 20 */
radnoumane 0:eba1236b9395 21 /*!
radnoumane 0:eba1236b9395 22 * @brief Function to be executed on Radio Tx Done event
radnoumane 0:eba1236b9395 23 */
radnoumane 0:eba1236b9395 24 void OnTxDone( void );
radnoumane 0:eba1236b9395 25
radnoumane 0:eba1236b9395 26 /*!
radnoumane 0:eba1236b9395 27 * @brief Function to be executed on Radio Rx Done event
radnoumane 0:eba1236b9395 28 */
radnoumane 0:eba1236b9395 29 void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr );
radnoumane 0:eba1236b9395 30
radnoumane 0:eba1236b9395 31 /*!
radnoumane 0:eba1236b9395 32 * @brief Function executed on Radio Tx Timeout event
radnoumane 0:eba1236b9395 33 */
radnoumane 0:eba1236b9395 34 void OnTxTimeout( void );
radnoumane 0:eba1236b9395 35
radnoumane 0:eba1236b9395 36 /*!
radnoumane 0:eba1236b9395 37 * @brief Function executed on Radio Rx Timeout event
radnoumane 0:eba1236b9395 38 */
radnoumane 0:eba1236b9395 39 void OnRxTimeout( void );
radnoumane 0:eba1236b9395 40
radnoumane 0:eba1236b9395 41 /*!
radnoumane 0:eba1236b9395 42 * @brief Function executed on Radio Rx Error event
radnoumane 0:eba1236b9395 43 */
radnoumane 0:eba1236b9395 44 void OnRxError( void );
radnoumane 0:eba1236b9395 45
radnoumane 0:eba1236b9395 46 /*!
radnoumane 0:eba1236b9395 47 * @brief Function executed on Radio Fhss Change Channel event
radnoumane 0:eba1236b9395 48 */
radnoumane 0:eba1236b9395 49 void OnFhssChangeChannel( uint8_t channelIndex );
radnoumane 0:eba1236b9395 50
radnoumane 0:eba1236b9395 51 /*!
radnoumane 0:eba1236b9395 52 * @brief Function executed on CAD Done event
radnoumane 0:eba1236b9395 53 */
radnoumane 0:eba1236b9395 54 void OnCadDone( void );
radnoumane 0:eba1236b9395 55
radnoumane 0:eba1236b9395 56 #endif // __MAIN_H__