Fork from LoRa Alliance program. available here: https://developer.mbed.org/users/Alliance/code/LoRaWAN/
Dependencies: LoRaMacLib SX1276Lib mbed Chainable_RGB_LED DigitDisplay
Fork of LoRaWAN by
Diff: main.cpp
- Revision:
- 9:36c624bb5d98
- Parent:
- 8:d3a75f9efef8
- Child:
- 11:b05c281295a3
--- a/main.cpp Tue Oct 27 12:11:52 2015 +0000 +++ b/main.cpp Fri Nov 06 16:34:25 2015 +0000 @@ -23,7 +23,7 @@ * When set to 1 the application uses the Over-the-Air activation procedure * When set to 0 the application uses the Personalization activation procedure */ -#define OVER_THE_AIR_ACTIVATION 1 +#define OVER_THE_AIR_ACTIVATION 0 /*! * Mote device IEEE EUI @@ -90,8 +90,8 @@ /*! * Defines the application data transmission duty cycle */ -#define APP_TX_DUTYCYCLE 5000000 // 6 [s] value in us -#define APP_TX_DUTYCYCLE_RND 2000000 // 2 [s] value in us +#define APP_TX_DUTYCYCLE 20000000 // 20 [s] value in us (minimum 10s) +#define APP_TX_DUTYCYCLE_RND 5000000 // 5 [s] value in us (minimum 3s) /*! * User application data buffer size