end-to-end working: ESP32 connects to server, renders widgets

boot logo (procedural hexagon + K), WiFi (WPA auto-detect with retries),
TCP client connects and receives ScreenUpdate/DataUpdate messages,
display renders widget data. Makefile with esp-flash/server/desktop targets.

known issues: boot logo not cleared, text overlaps, occasional reconnect
This commit is contained in:
2026-06-18 22:31:48 +02:00
parent 557cceb498
commit a384e36616
11 changed files with 6708 additions and 38 deletions

View File

@@ -81,12 +81,8 @@ async fn main() {
all_changed.extend(changed_portfolio);
if !all_changed.is_empty() {
if counter == 1 {
if let Some(l) = &layout {
broadcaster.push_screen_update(l, &all_changed).await.unwrap();
}
} else {
broadcaster.push_data_update(&all_changed).await.unwrap();
if let Some(l) = &layout {
broadcaster.push_screen_update(l, &all_changed).await.unwrap();
}
println!("Pushed {} widget updates (tick {counter})", all_changed.len());
}