Add admin serial settings view

This commit is contained in:
2026-09-07 20:12:33 +02:00
parent c73674cda2
commit 5a2aa0d4d8
20 changed files with 612 additions and 25 deletions
@@ -23,8 +23,12 @@ TaskHandle_t xTaskCreateStatic(void (*)(void *), const char *, uint32_t, void *,
#include <stddef.h>
#include "esp_err.h"
typedef void *httpd_handle_t;
typedef int httpd_method_t;
typedef struct { httpd_handle_t handle; void *sess_ctx; void (*free_ctx)(void *);
int method; size_t content_len; const char *uri; void *aux; } httpd_req_t;
typedef struct { const char *uri; int method; esp_err_t (*handler)(httpd_req_t *);
void *user_ctx; bool is_websocket, handle_ws_control_frames;
const char *supported_subprotocol; } httpd_uri_t;
typedef enum { HTTPD_WS_TYPE_CONTINUE, HTTPD_WS_TYPE_TEXT, HTTPD_WS_TYPE_BINARY } httpd_ws_type_t;
typedef enum { HTTPD_WS_CLIENT_HTTP, HTTPD_WS_CLIENT_WEBSOCKET } httpd_ws_client_info_t;
typedef struct { bool final, fragmented; httpd_ws_type_t type; unsigned char *payload;