![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
LoRaWAN smart agriculture application using FRDM-K64F ARM mbed board along with SX1272MB2xAS LoRa shield as the LoRa Node.
Dependencies: DHT11 LMiC SX1272Lib mbed
Fork of LoRaWAN-lmic-app by
Revision 11:dc6e995a7849, committed 2018-04-11
- Comitter:
- GTsapparellas
- Date:
- Wed Apr 11 19:52:17 2018 +0000
- Parent:
- 10:0a4ad1388e05
- Commit message:
- version 1.0 (Commenting)
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 0a4ad1388e05 -r dc6e995a7849 main.cpp --- a/main.cpp Wed Apr 11 19:42:45 2018 +0000 +++ b/main.cpp Wed Apr 11 19:52:17 2018 +0000 @@ -69,7 +69,7 @@ #define MAX_EU_CHANNELS 16 // Frequency channels automatically initialized for EU reqion. #define SINGLE_CHANNEL_GATEWAY // Force it to use 868.1 MHz frequency band only due to Dragino LG01-P LoRa Gateway hardware limitation. -#define TRANSMIT_INTERVAL 1800 // Transmit interval in seconds, too often may get traffic ignored. +#define TRANSMIT_INTERVAL 300 // Transmit interval in seconds, too often may get traffic ignored. #define DEBUG_LEVEL 0 // Set debug level to 1 for outputting messages to the UART Terminal (e.g. Tera Term). #define ACTIVATION_METHOD 0 // Set activation method to 0 for ABP (Activation By Personalization) // Set activation method to 1 for OTAA (Over The Air Activation)