Reworked contact system and fixed ack sending

This commit is contained in:
2026-05-06 21:42:08 +02:00
parent 0bab658098
commit 136f15d35f
7 changed files with 202 additions and 54 deletions
+7 -4
View File
@@ -28,9 +28,12 @@ sqlite_path = "data/lorabot.db"
# MeshCore MAX_PACKET_PAYLOAD is 184 bytes. Lower this if your text-frame
# headers further constrain the usable payload on your device.
max_bytes = 184
# Seconds to wait for an ACK before treating a chunk as failed.
ack_timeout_seconds = 30
# How many times to retry a chunk after failure (0 = no retries).
# Per-attempt ACK wait. 0 = trust the device's path-aware suggestion (recommended).
# Set a positive value only if you need to override that suggestion.
ack_timeout_seconds = 0
# How many times to retry a chunk after failure (0 = no retries). Total attempts
# = send_retries + 1. With send_retries >= 2 the third attempt onwards is sent as
# a flood broadcast (multi-hop) instead of direct.
send_retries = 1
[web]
@@ -47,7 +50,7 @@ enabled = true
interval_seconds = 3600
at_startup = true
# Flood = multi-hop advert across the mesh. False = zero-hop (neighbors only).
flood = false
flood = true
# LLM tool calling. The weather tool (Open-Meteo, no key) is always on. Tools
# in this section are optional and only registered when configured. Requires a