Rollback AU915 to FSB2 add DualPlan and AS923

pull/8/head
Mike Causer 2023-04-14 12:39:32 +10:00
rodzic 00cec9c130
commit 149f5b034d
2 zmienionych plików z 17 dodań i 6 usunięć

Wyświetl plik

@ -325,14 +325,23 @@ void ttn_join(void) {
// other regions, this will need to be changed.
LMIC_selectSubBand(1);
#elif defined(CFG_au915) && defined(CFG_au915_fsb6)
// AU915 FSB6
// CH 40-47 (923.2 - 924.6 MHz)
// Helium DualPlan was live in Australia 2022-11-17 to 2023-04-18
// DualPlan allowed AU915 devices to co-exist with AS923 by taking advantage
// of some AU915 FSB6 frequencies overlapping AS923 frequencies.
// If a device joined on the first two channels of FSB6, it was treated as
// an AS923 device. On the last 6 channels, an AU915 device.
LMIC_selectSubBand(5);
#elif defined(CFG_au915)
// set sub band for AU915
// before 2022-11-17 Helium was using FSB2 CH 8-15 (916.8 - 918.2 MHz uplink)
// AU915 FSB2
// CH 8-15 (916.8 - 918.2 MHz uplink)
// https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json
// LMIC_selectSubBand(1);
// after 2022-11-17 Helium switched to DualPlan using FSB6 CH 40-47 (923.2 - 924.6 MHz uplink)
LMIC_selectSubBand(5);
LMIC_selectSubBand(1);
#endif

Wyświetl plik

@ -21,6 +21,8 @@ build_flags = -Wall
-D CFG_us915=1
; -D CFG_eu868=1
; -D CFG_au915=1
; -D CFG_au915_fsb6=1
; -D CFG_as923=1
-D CFG_sx1276_radio=1
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D ARDUINO_TTGO_LoRa32_V1
@ -40,5 +42,5 @@ monitor_speed = 115200
[env:debug]
debug_build_flags =
-D DEBUG
-D DEBUG
-D LMIC_DEBUG_LEVEL=3