How to read/write blob (objects) to nvs (non-volatile storage) with ESP-IDF?

This page summarizes the projects mentioned and recommended in the original post on /r/esp32

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ArduinoJson

    📟 JSON library for Arduino and embedded C++. Simple and efficient.

  • I'm using arduino-json for my JSON serialization. I use SPIFFS.h as my SPIFFS foundation (I may move to FATFS in the future...). The JSON object stores the access point name, uid, password, etc. in text form. There are SPIFFS downloaders as well that integrate into PlatformIO and Arduino IDEs to preload the JSON file. Other JSON files on the device store application parameters and state information.

  • esp-idf-json

    Example of JSON Serialize and Deserialize in ESP-IDF

  • For option 2, you'll want to use a json library, like: https://github.com/nopnop2002/esp-idf-json

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts