feat(repeater/analyzer): grow rxlog ring 96 -> 256 records

Daytime advert bursts (an advert plus its copies from surrounding repeaters
arrive within seconds) overflowed the 96-slot ring between BLE bridge drains --
~250 dropped records/h in meshcore_rxlog_dropped_total, zero at night. 256
records at ~32 B each costs +5 KB RAM (17.7% total on nRF52840). Paired with
bridge-side tuning (drain page cap 20 -> 60, poll 5 s -> 2 s in home-scripts).

Flashed to mast-three.example via BLE DFU 2026-07-14.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Fable 5 committed 2026-07-14 18:30:24 +02:00
1 parent ef6628afed
commit ce907bbe4a
1 file changed
+4 -2
+4 -2
View File
@@ -81,11 +81,13 @@ build_flags =
; Note: the L76K draws ~25-35 mA — plan for the extra power on a solar node.
-D ENV_SKIP_GPS_DETECT=1
; Passive mesh analyzer (TeTeHacko): expose heard repeaters/room servers and a
; frame firehose over the text console for a BLE bridge/map. RAM-only, ~10 KB.
; frame firehose over the text console for a BLE bridge/map. RAM-only, ~15 KB.
; nodes [offset] -> heard repeater/room registry (identity, geo, SNR, path)
; rxlog [cursor] -> circular log of every frame heard (type, path, SNR/RSSI)
; RXLOG_SIZE 96 -> 256 (~32 B/rec): daytime advert bursts overflowed the ring
; between BLE drains (~250 drops/h, meshcore_rxlog_dropped_total)
-D MAX_HEARD_NODES=48
-D RXLOG_SIZE=96
-D RXLOG_SIZE=256
; -D MESH_PACKET_LOGGING=1
build_src_filter = ${SenseCap_Solar.build_src_filter}
+<../examples/simple_repeater/*.cpp>