DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
config_io.h File Reference

Schema-driven config export / restore (DETWS_ENABLE_CONFIG_IO). More...

#include "ServerConfig.h"
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Detailed Description

Schema-driven config export / restore (DETWS_ENABLE_CONFIG_IO).

The app declares a fixed schema - an array of {key, type} fields - and this service serializes their current values from the config store to a portable key=value text blob (one field per line) for backup / migration, and parses such a blob back into the store for restore / bulk provisioning. Schema-driven (rather than enumerating NVS) keeps it deterministic and zero-heap; the serialize / parse round-trip is host-tested against the in-memory config store.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file config_io.h.