fix(bot): Nachrichten ohne ACK-Anforderung senden (wantAck=False)
sendText() verwendet jetzt wantAck=False – keine Retry-Logik, keine ACK-Pakete im Mesh. Sinnvoll für Broadcasts und periodische Status-Meldungen. Closes #14. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
087cccd35c
commit
30960a194d
|
|
@ -1,5 +1,12 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.08.12] - 2026-02-20
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- **Bot-Nachrichtenversand ohne ACK**: `sendText()` verwendet jetzt `wantAck=False` –
|
||||||
|
Nachrichten werden einmal gesendet ohne auf Bestätigung zu warten und ohne Retry-Logik.
|
||||||
|
Sinnvoll für Broadcasts und periodische Status-Meldungen; reduziert ACK-Pakete im Netz (closes #14).
|
||||||
|
|
||||||
## [0.08.11] - 2026-02-20
|
## [0.08.11] - 2026-02-20
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: "0.08.11"
|
version: "0.08.12"
|
||||||
|
|
||||||
bot:
|
bot:
|
||||||
name: "MeshDD-Bot"
|
name: "MeshDD-Bot"
|
||||||
|
|
|
||||||
|
|
@ -468,7 +468,7 @@ class MeshBot:
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.exception("Error storing sent message")
|
logger.exception("Error storing sent message")
|
||||||
try:
|
try:
|
||||||
self.interface.sendText(msg, channelIndex=channel)
|
self.interface.sendText(msg, channelIndex=channel, wantAck=False)
|
||||||
except Exception:
|
except Exception:
|
||||||
logger.exception("Error sending text via radio")
|
logger.exception("Error sending text via radio")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue