Added lvgl support to generate images. Made basic example, grayscale background + text displayed everytime we call /api/display/image.png

This commit is contained in:
2026-03-14 18:41:00 -04:00
parent a9d5aa83dc
commit 6384e93020
19 changed files with 10019 additions and 5 deletions

View File

@@ -0,0 +1,23 @@
# Listening to UDP Logs
When the Calendink Provider device is running (especially when connected via Ethernet and serial monitoring is not feasible), the firmware broadcasts the `ESP_LOG` output over UDP on port **514**.
You can listen to these live logs directly from your PC.
## Option 1: Using ncat (Nmap)
If you have `ncat` installed, you can listen to the UDP broadcast by running this command in your terminal:
```powershell
ncat -ul 514
```
## Option 2: Using Python (Windows Fallback)
On Windows, `ncat` sometimes throws a `WSAEMSGSIZE` error if a log line exceeds a certain size (like the chunked PM dump locks). If this happens, or if you don't have `ncat` installed, you can run this Python one-liner in your terminal 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)]"
```
### Configuration
- **Port:** The UDP server broadcasts on port `514`.
- **Target IP:** By default, logs are broadcast to `255.255.255.255`. If you need to target a specific machine, make sure `CONFIG_CALENDINK_UDP_LOG_TARGET_IP` is set to your PC's IP address in your `sdkconfig`.