added udp logger to log over network and not uart

Added modem sleep for wif
This commit is contained in:
2026-03-14 17:27:24 -04:00
parent b702839f8e
commit a9d5aa83dc
9 changed files with 171 additions and 4 deletions

View File

@@ -103,3 +103,11 @@ npm run ota:package # Package as versioned .bin
npm run ota:bundle # Package FW + frontend as .bundle
npm run ota:deploy # Deploy frontend OTA to device
```
## Logging on Ethernet
When the device is connected to Ethernet, logs are broadcast over UDP to port 514. Use `ncat -ul 514` on your PC to view them live.
*(If `ncat` throws a `WSAEMSGSIZE` error on Windows, use this Python command instead:)*
```powershell
python -c "import socket; s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM); s.bind(('', 514)); [print(m[0].decode(errors='ignore'), end='') for m in iter(lambda:s.recvfrom(4096), None)]"
```