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 Semtech

Revision:
11:dc6e995a7849
Parent:
10:0a4ad1388e05
--- 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)