diff options
Diffstat (limited to 'main/local_screens.h')
| -rw-r--r-- | main/local_screens.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/main/local_screens.h b/main/local_screens.h index 20b2b36..ffe9a3d 100644 --- a/main/local_screens.h +++ b/main/local_screens.h @@ -7,10 +7,13 @@ // bitmap font. esp_err_t local_screens_init(void); -// Render the unconfigured / identify screen — two centered lines: -// "viewport.local" -// <current IP> -// Shown on first boot, after factory reset, and as a BOOT-button overlay. +// Render the identity / "who am I" screen — four centered lines: +// <viewport name> ("viewport" if unconfigured) +// viewport-<name>.local (mDNS hostname) +// <current IP> ("no network" if no DHCP lease) +// <state> ("awake" / "asleep" / "unconfigured") +// Font scale is auto-picked to fit the longest line within 90% of width. +// Shown on first boot, after factory reset, and as a 15s BOOT-button overlay. esp_err_t local_screens_show_ip(void); // Render the loading screen — centered "Loading…" — shown on every wake |
