mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-06-28 18:31:38 +00:00
3b6ef66fd9
- Introduced a new class `_SerializedCommands` to serialize host-to-radio commands, ensuring only one command is in-flight at a time to prevent USB-CDC buffer overruns and parser desynchronization. - Added configuration options for `command_min_interval_ms` and `channel_fetch_interval_ms` to control pacing between commands and channel scans, improving firmware stability during reconnect sequences. - Updated `ChannelManager` to utilize the new fetch interval during channel scans, and modified the reconnect delay to 10 seconds for gentler recovery from connection issues. - Enhanced documentation in `config.ini.example` to reflect new settings and their purposes.