21 lines
838 B
Markdown
21 lines
838 B
Markdown
|
|
---
|
||
|
|
name: Mesh .198 fix — COMPLETED
|
||
|
|
description: Fixed mesh radio on .198 — duplicate init, no reconnect on write fail, wrong device path. All deployed.
|
||
|
|
type: project
|
||
|
|
---
|
||
|
|
|
||
|
|
## Status: COMPLETED (2026-03-17)
|
||
|
|
|
||
|
|
Three bugs were found and fixed:
|
||
|
|
|
||
|
|
1. **Duplicate mesh init in `server.rs`** — removed duplicate block
|
||
|
|
2. **Serial write failures don't trigger reconnection** — added `consecutive_write_failures` counter, bail after 3
|
||
|
|
3. **Device path on .198** — set `/var/lib/archipelago/mesh-config.json` to `/dev/ttyUSB1`
|
||
|
|
|
||
|
|
All changes deployed to both .228 and .198.
|
||
|
|
|
||
|
|
### Files Changed
|
||
|
|
- `core/archipelago/src/server.rs` — removed duplicate mesh/transport init block
|
||
|
|
- `core/archipelago/src/mesh/listener.rs` — added write failure tracking + reconnection
|
||
|
|
- `neode-ui/src/stores/mesh.ts` — fixed TS union type for `typed_payload`
|