kopia lustrzana https://github.com/Max-Plastix/tbeam-helium-mapper
Add support for AU915 dual plan
rodzic
bc87deb3f8
commit
a3c662a52a
|
@ -328,8 +328,11 @@ void ttn_join(void) {
|
||||||
#elif defined(CFG_au915)
|
#elif defined(CFG_au915)
|
||||||
|
|
||||||
// set sub band for 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
|
// 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
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,8 @@ build_flags = -Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wno-missing-field-initializers -O3
|
-Wno-missing-field-initializers -O3
|
||||||
-D CFG_us915=1
|
-D CFG_us915=1
|
||||||
; -D CFG_eu868=1
|
; -D CFG_eu868=1
|
||||||
|
; -D CFG_au915=1
|
||||||
-D CFG_sx1276_radio=1
|
-D CFG_sx1276_radio=1
|
||||||
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
|
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
|
||||||
-D ARDUINO_TTGO_LoRa32_V1
|
-D ARDUINO_TTGO_LoRa32_V1
|
||||||
|
@ -32,6 +33,7 @@ lib_deps =
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
; monitor_port = COM17
|
; monitor_port = COM17
|
||||||
|
; upload_speed = 921600
|
||||||
; upload_port = COM17
|
; upload_port = COM17
|
||||||
|
|
||||||
[env:release]
|
[env:release]
|
||||||
|
|
Ładowanie…
Reference in New Issue