mirror of
https://github.com/Colorado-Mesh/meshcore-bot-firmware.git
synced 2026-08-13 17:20:30 +00:00
forge: add patch 5 — hop-aware bot coordination
Bundles in-progress utility commands (TIME, LORA, ID, NEIGHBORS), neighbor tracking, received_at_timestamp / personalized acks, and per-hop response delay coordination. Tunes the coordinator so multi-hop senders actually get responses: hop step 5s→1.5s, hop bias capped at 8s, pending TTL 15s→45s. Verified on Heltec V3 bench bot: responds to #bot at 2, 4, and 6 hops. BOT_PREFS_VERSION bumped 2→3, so existing bots will reset bot prefs (channel names, known bots) to defaults on first boot of this firmware.
This commit is contained in:
@@ -17,6 +17,7 @@ def main():
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-DBOT_LOCAL_TIME_OFFSET_SECONDS=-21600",
|
||||
"-I",
|
||||
str(SRC_DIR),
|
||||
str(ROOT / "tests" / "firmware_bot" / "test_firmware_bot.cpp"),
|
||||
|
||||
Reference in New Issue
Block a user