From 53570d7ccfad2b73ae5a0b1be147729e1d95cc13 Mon Sep 17 00:00:00 2001 From: Oliver Seiler Date: Sun, 27 Sep 2020 18:19:02 +1300 Subject: [PATCH] Add sub band channel selection for AU915 Also see https://github.com/mcci-catena/arduino-lmic/commits/master/examples/ttn-abp/ttn-abp.ino --- src/loraconf_abp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loraconf_abp.cpp b/src/loraconf_abp.cpp index 76de2f73..675b90fa 100644 --- a/src/loraconf_abp.cpp +++ b/src/loraconf_abp.cpp @@ -39,8 +39,8 @@ void setABPParameters() { // devices' ping slots. LMIC does not have an easy way to define set this // frequency and support for class B is spotty and untested, so this // frequency is not configured here. - #elif defined(CFG_us915) - // NA-US channels 0-71 are configured automatically + #elif defined(CFG_us915) || defined(CFG_au915) + // NA-US and AU channels 0-71 are configured automatically // but only one group of 8 should (a subband) should be active // TTN recommends the second sub band, 1 in a zero based count. // https://github.com/TheThingsNetwork/gateway-conf/blob/master/US-global_conf.json