lmic fork for Senet NAMote
Fork of lmic_MOTE_L152RC_2 by
Diff: lmic.h
- Revision:
- 16:d5c50bdab1f1
- Parent:
- 8:0faa1bb768b5
- Child:
- 17:f90b064f6107
--- a/lmic.h Fri Sep 02 14:08:20 2016 +0000 +++ b/lmic.h Tue Nov 01 13:20:56 2016 -0400 @@ -17,6 +17,7 @@ #include "oslmic.h" #include "lorabase.h" +#include "config.h" // LMIC version #define LMIC_VERSION_MAJOR 1 @@ -24,7 +25,12 @@ #define LMIC_VERSION_BUILD 1431528305 enum { MAX_FRAME_LEN = 64 }; //!< Library cap on max frame length +#ifdef CFG_TXCONF_NO_RETRIES +enum { TXCONF_ATTEMPTS = 1 }; //!< Transmit attempts for confirmed frames +#else enum { TXCONF_ATTEMPTS = 8 }; //!< Transmit attempts for confirmed frames +#endif + enum { MAX_MISSED_BCNS = 20 }; // threshold for triggering rejoin requests enum { MAX_RXSYMS = 100 }; // stop tracking beacon beyond this