Commit Graph

2 Commits

Author SHA1 Message Date
Robert McMahon 0311ad21a1 Fix telemetry dropped counter and improve SD card list display
- Fix dropped telemetry calculation to account for bytes in batch buffer
- Add human-readable file sizes to sdcard list output (bytes with human-readable in parentheses)
- Update monitor status to show SD card status inline with telemetry label
- Add pending bytes display when telemetry is in batch buffer

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-10 10:05:13 -08:00
Robert McMahon 1eb04acd25 Add HTTP/serial file transfer, broadcast beacon, SD telemetry
- HTTP server on port 8080: GET /sdcard/<path> for SD file download
- Serial: sdcard send <file> streams hex-encoded; tools/sdcard_recv.py receives
- Broadcast beacon (UDP 5555): advertise IP, MAC, fiwi-telemetry for discovery
- tools/beacon_listen.py: listen and optionally download fiwi-telemetry per device
- SD commands: list, send, delete; status shows fiwi-telemetry and telemetry-status
- Monitor start: MCS telemetry -> fiwi-telemetry on SD by default (every 10s)
- telemetry-status on SD: persist download stats across reboots
- Kconfig: BEACON_INTERVAL_SEC, TELEMETRY_AUTO_DELETE_AFTER_DOWNLOAD

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-07 12:30:04 -08:00