LoRaWAN-lib publish

Fork of LoRaWAN-lib by Christopher De Bank

Revision:
11:0cbf861e53f8
Parent:
8:26002607de9c
Child:
12:8fa78862788e
--- a/LoRaMac-definitions.h	Mon Apr 24 09:42:37 2017 +0000
+++ b/LoRaMac-definitions.h	Thu Nov 16 14:26:17 2017 +0000
@@ -328,6 +328,7 @@
 #define LORA_MAX_NB_BANDS                           1
 
 // Band = { DutyCycle, TxMaxPower, LastTxDoneTime, TimeOff }
+//#define BAND0              { 100, TX_POWER_10_DBM, 0,  0 } //  1.0 %
 #define BAND0              { 100, TX_POWER_10_DBM, 0,  0 } //  1.0 %
 
 /*!
@@ -463,14 +464,19 @@
  * LoRaMac default channels
  */
 // Channel = { Frequency [Hz], { ( ( DrMax << 4 ) | DrMin ) }, Band }
-#define LC1                { 868100000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
-#define LC2                { 868300000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
-#define LC3                { 868500000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
+//Commented out by Chris
+//#define LC1                { 868100000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
+//#define LC2                { 868300000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
+//#define LC3                { 868500000, { ( ( DR_5 << 4 ) | DR_0 ) }, 1 }
+
+#define LC1                { 869400000, { ( ( DR_5 << 4 ) | DR_5 ) }, 3 }
 
 /*!
  * LoRaMac channels which are allowed for the join procedure
  */
-#define JOIN_CHANNELS      ( uint16_t )( LC( 1 ) | LC( 2 ) | LC( 3 ) )
+//Commented out by Chris
+//#define JOIN_CHANNELS      ( uint16_t )( LC( 1 ) | LC( 2 ) | LC( 3 ) )
+#define JOIN_CHANNELS      ( uint16_t )( LC( 1 ))
 
 #elif defined( USE_BAND_915 ) || defined( USE_BAND_915_HYBRID )