Skip to content

Commit 08b49c3

Browse files
authored
Merge pull request #660 from khudson/station_g2_logger
Station G2: Adds repeater variant with packet logging on
2 parents 0fd24c8 + bbee057 commit 08b49c3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

variants/station_g2/platformio.ini

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,25 @@ lib_deps =
4545
${Station_G2.lib_deps}
4646
${esp32_ota.lib_deps}
4747

48+
[env:Station_G2_logging_repeater]
49+
extends = Station_G2
50+
build_flags =
51+
${Station_G2.build_flags}
52+
-D ADVERT_NAME='"Station G2 Logging Repeater"'
53+
-D ADVERT_LAT=0.0
54+
-D ADVERT_LON=0.0
55+
-D ADMIN_PASSWORD='"password"'
56+
-D MAX_NEIGHBOURS=8
57+
-D MESH_PACKET_LOGGING=1
58+
-D SX126X_RX_BOOSTED_GAIN=1
59+
; https://wiki.uniteng.com/en/meshtastic/station-g2#impact-of-lora-node-dense-areashigh-noise-environments-on-rf-performance
60+
; -D MESH_DEBUG=1
61+
build_src_filter = ${Station_G2.build_src_filter}
62+
+<../examples/simple_repeater>
63+
lib_deps =
64+
${Station_G2.lib_deps}
65+
${esp32_ota.lib_deps}
66+
4867
[env:Station_G2_room_server]
4968
extends = Station_G2
5069
build_src_filter = ${Station_G2.build_src_filter}

0 commit comments

Comments
 (0)