ReflectState

Heap-free typed state store with change callbacks for microcontrollers, using the same struct reflection (REFLECT/MEMBER) as ReflectJSON and ReflectINI.

Author
Michael michi.fu@quickline.ch
Website
https://github.com/Michael-0-sys/ReflectState
Category
Data Storage
License
NOASSERTION
Library Type
Contributed
Architectures
Any

Declare state variables and their types once with STATE_VARIABLES, then set/get them without template arguments. Change detection for reflected structs, arrays, std::optional and float tolerances; multiple listeners per variable; fixed RAM, no heap, no std::function. Lock policies for dual-core RP2040/RP2350 and ESP32, Teensy interrupts and RTOS tasks. Needs C++17. Free for noncommercial use; commercial use requires a license.

Downloads

Filename Release Date File Size
ReflectState-1.0.0.zip 2026-10-18 78.35 KiB