OVMS3-idf/examples/07_nvs_rw_value
2016-11-22 21:54:49 +08:00
..
main implement esp_deep_sleep, fix build issues 2016-11-22 21:54:49 +08:00
Makefile NVS Examples update 2016-11-10 06:52:48 +01:00
README.md examples: minor tweaks to comments 2016-11-11 12:16:54 +08:00

Non-Volatile Storage (NVS) Read and Write Example

Demonstrates how to read and write a single integer value using NVS.

The value holds the number of ESP32 module restarts. Since it is written to NVS, the value is preserved between restarts.

Example also shows how to check if read / write operation was successful, or certain value is not initialized in NVS. Diagnostic is provided in plain text to help track program flow and capture any issues on the way.

Check another example 08_nvs_rw_blob, that shows how to read and write variable length binary data (blob).

Detailed functional description of NVS and API is provided in documentation.

See the README.md file in the upper level 'examples' directory for more information about examples.