test harness
Dependencies: LoRaWAN-NAMote72-Application-Demo LoRaWAN-lib2 SX1272Lib lib_gps lib_mma8451q lib_mpl3115a2 mbed
Fork of LoRaWAN-NAMote72-Application-Demo by
Diff: app/LoRaEventProc.h
- Revision:
- 5:6ffeac53b7cb
- Parent:
- 0:69f2e28d12c1
diff -r 7a3ceb1ce02c -r 6ffeac53b7cb app/LoRaEventProc.h --- a/app/LoRaEventProc.h Thu May 19 18:40:59 2016 +0000 +++ b/app/LoRaEventProc.h Wed Jun 08 01:40:42 2016 +0000 @@ -21,6 +21,8 @@ #include "LoRaApp.h" #include "LoRaDeviceStateProc.h" +#define APP_TX_DUTYCYCLE_RND 1000000 + /*! * \brief Prepares the payload of the frame specific to the application port * @@ -29,6 +31,11 @@ void PrepareLoRaFrame( uint8_t port ); /*! + * \brief Prepares the payload of the frame based on application port + */ +void InitNextTxInterrupt( uint8_t port ); + +/*! * \brief Define action during the Network Join process: Blink, Toggle or Set LED ON */ void JoinEvent( void );