Implement Read-Only OLED Status UI

This commit is contained in:
2026-08-29 15:29:19 +02:00
parent 4aa5ca80da
commit c10e7d24a8
7 changed files with 493 additions and 6 deletions
+24
View File
@@ -0,0 +1,24 @@
/* SPDX-License-Identifier: GPL-3.0-only */
/* Read-only local status UI for the optional OLED. */
#pragma once
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/*
* Starts the low-priority status renderer. The task reads public service
* snapshots only; it never becomes a broker client or changes service state.
* The OLED and buttons are optional, so a missing display is not an error.
*/
esp_err_t local_status_ui_start(void);
/* Preserve a manually selected display diagnostic for a bounded interval. */
void local_status_ui_hold_for_diagnostics(void);
#ifdef __cplusplus
}
#endif