mirror of
https://github.com/n0mjs710/HBlink4.git
synced 2026-11-08 04:19:26 +00:00
- Implement TCP and Unix socket transports (removed UDP per requirements) - Add connection state awareness and automatic reconnection (10s interval) - Fix TCP race condition: Initial state sync on (re)connection - Add reconnect callback to send current repeater state to dashboard - Update all configuration files with transport settings - Add comprehensive documentation (dashboard_transport.md, TRANSPORT_IMPLEMENTATION_SUMMARY.md) - Clean up debug logging This change addresses all user requirements: 1. Dashboard can run on separate server (TCP transport) 2. Dashboard never shows stale data (reliable delivery + state sync) 3. Dashboard knows when HBlink is offline (connection state tracking) 4. Unix socket for local (fastest), TCP for remote (flexible) 5. Robust against connection timing issues (initial state sync) Tested: Both TCP and Unix socket transports working correctly