Add support for AU915 dual plan

pull/7/head
Mike Causer 2022-11-18 17:22:25 +11:00
rodzic bc87deb3f8
commit a3c662a52a
2 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -328,8 +328,11 @@ void ttn_join(void) {
#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)
// https://github.com/TheThingsNetwork/gateway-conf/blob/master/AU-global_conf.json
LMIC_selectSubBand(1);
// 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);
#endif

Wyświetl plik

@ -19,7 +19,8 @@ build_flags = -Wall
-Wextra
-Wno-missing-field-initializers -O3
-D CFG_us915=1
; -D CFG_eu868=1
; -D CFG_eu868=1
; -D CFG_au915=1
-D CFG_sx1276_radio=1
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
-D ARDUINO_TTGO_LoRa32_V1
@ -32,6 +33,7 @@ lib_deps =
monitor_speed = 115200
; monitor_port = COM17
; upload_speed = 921600
; upload_port = COM17
[env:release]