ESP32 saving config data in non-volitile storage


I’m looking for a way to store key:value data in non-volitile memory on an ESP32. I’ll use this to store user set configuration data.

On Arduino ESP32, there is the Preferences library that stores key:value data in flash non-volitile memory and I use this. I have not found an equivalent Mongoose library, and I’m hoping someone can suggest a way I can do this. If i have to I’ll port the Preferences library but before I do I’m wondering if there is an existing or better solution.



Mongoose OS provides a built-in configuration infrastructure


Thanks, I’ll review that more carefully. I thought that was a framework for remote configuration, not local. If it offers API calls I can use from my app then that will work.