LMiC adapted to work with SX1272MB2xAS LoRa shield.

Fork of LMiC by Timothy Mulrooney

Revision:
8:5879e83f632a
Parent:
7:29058a7ccf23
diff -r 29058a7ccf23 -r 5879e83f632a lmic.h
--- a/lmic.h	Thu Feb 25 21:28:23 2016 +0000
+++ b/lmic.h	Mon Apr 02 12:04:59 2018 +0000
@@ -7,7 +7,19 @@
  *
  * Contributors:
  *    IBM Zurich Research Lab - initial API, implementation and documentation
- *******************************************************************************/
+ *
+ * /////////////////////////////////////////////////////////////////////////////
+ *
+ * Used by Giorgos Tsapparellas for Internet of Things (IoT) smart monitoring
+ * device for agriculture using LoRaWAN technology.
+ *
+ * Date of issued copy: 25 January 2018
+ *
+ * Modifications: 
+ * - No external modifications of the existing "AS IT IS" software.
+ * - Set CFG_eu868 and CFG_sx1272_radio definitions to 1 for European's 
+ *   frequency band listening and sx1272 radio usage.
+ ******************************************************************************/
 
 //! @file
 //! @brief LMIC API
@@ -16,15 +28,12 @@
 #define _lmic_h_
 
 // MBED compiler options
-//#define CFG_eu868                                   1
-#define CFG_us915                                   1
+#define CFG_eu868                                   1
+//#define CFG_us915                                 1
 #define CHNL_HYBRID     0       /* US915: 0-7 to select block of 8 channels used */
 //#define JOIN_REQ_DEBUG 0
-
 #define USE_SMTC_RADIO_DRIVER                       1
-
-#define CFG_sx1272_radio                            0
-//#define CFG_sx1276_radio                            1
+#define CFG_sx1272_radio                            1
 // End MBED compiler options
 
 #include "oslmic.h"