20171208

Fork of LoRaWAN-lib by Semtech

Revision:
11:de2cdd1f253e
Parent:
8:26002607de9c
diff -r 26002607de9c -r de2cdd1f253e LoRaMac-definitions.h
--- a/LoRaMac-definitions.h	Mon Apr 24 09:42:37 2017 +0000
+++ b/LoRaMac-definitions.h	Fri Dec 08 14:22:31 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 )