ver1

Revision:
84:29648b580369
Parent:
82:0f5a742a08cd
Child:
104:9662b62f1977
diff -r bd88089c1054 -r 29648b580369 plans/ChannelPlan_US915.cpp
--- a/plans/ChannelPlan_US915.cpp	Thu Jun 29 08:28:52 2017 -0500
+++ b/plans/ChannelPlan_US915.cpp	Thu Jun 29 08:33:25 2017 -0500
@@ -654,13 +654,14 @@
         status &= 0xFB; // TxPower KO
     }
     
-    // at least 6 125kHz channels must be enabled
+    // at least 2 125kHz channels must be enabled
     chans_enabled += CountBits(_channelMask[0]);
     chans_enabled += CountBits(_channelMask[1]);
     chans_enabled += CountBits(_channelMask[2]);
     chans_enabled += CountBits(_channelMask[3]);
-    if (chans_enabled < 6) {
-        logWarning("ADR Channel Mask KO - at least 6 125kHz channels must be enabled");
+    // Semtech reference (LoRaMac-node) enforces at least 2 channels
+    if (chans_enabled < 2) {
+        logWarning("ADR Channel Mask KO - at least 2 125kHz channels must be enabled");
         status &= 0xFE; // ChannelMask KO
     }