|
ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
|
Schema-driven config export / restore (PC_ENABLE_CONFIG_IO). More...
Go to the source code of this file.
Schema-driven config export / restore (PC_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.
Definition in file config_io.h.