Hi
I want to itterate over all the keys in a given NVS namespace. Is this possible, or do i have to store a list of keys somewhere and use that?
Regards
Stefan
itterating over keys in nvs namespace
Re: itterating over keys in nvs namespace
Howdy Stefan,
Have a look at the following requirement against ESP-IDF ...
https://github.com/espressif/esp-idf/issues/129
Have a look at the following requirement against ESP-IDF ...
https://github.com/espressif/esp-idf/issues/129
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 17
- Joined: Wed Sep 05, 2018 6:49 pm
Re: itterating over keys in nvs namespace
As mentioned in the above issue, I have created this gist which packs Ed Smallenburg's arduino sketch as an iterator.
It can iterate with a prefix in a specified namespace or across all namespaces. There is even an example to look at ..
/Flemming
It can iterate with a prefix in a specified namespace or across all namespaces. There is even an example to look at ..
/Flemming
Who is online
Users browsing this forum: No registered users and 108 guests