Add ESP-NOW heartbeat, client timeout, and slave reconnect.

Slaves send HEARTBEAT every 1s; the master marks clients inactive after
3s without traffic and reactivates on reconnect. CLIENT_INFO reports
last_ping as milliseconds since the last packet, not uptime.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-18 22:39:10 +02:00
co-authored by Cursor
parent 16bfbd1091
commit 6cdca4f3ad
6 changed files with 282 additions and 85 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ Example output:
```
clients (2):
[0] id=42 mac=aabbccddeeff ver=1 available=true used=false last_ping=12345 last_success_ping=12345
[0] id=42 mac=aabbccddeeff ver=1 available=true used=false last_ping=250 last_success_ping=250
```
## Regenerate protobuf