ver1
Diff: plans/ChannelPlan_AU915.cpp
- Revision:
- 84:29648b580369
- Parent:
- 82:0f5a742a08cd
- Child:
- 104:9662b62f1977
diff -r bd88089c1054 -r 29648b580369 plans/ChannelPlan_AU915.cpp --- a/plans/ChannelPlan_AU915.cpp Thu Jun 29 08:28:52 2017 -0500 +++ b/plans/ChannelPlan_AU915.cpp Thu Jun 29 08:33:25 2017 -0500 @@ -647,13 +647,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 }