NVS video concerning Blob structures #245
Unanswered
orbitcoms
asked this question in
Course Qeustions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a project that is saving and retrieving all my simple variables ok to nvs partition. I am stroing a simple structure fo 2 strngs (ssid and pw) for wifi credentials. When I boot up I see the code first detects key not found and proceeds to set the blob ok but when I run again it does not get an OK result when loading the blob but a value of 4364. I'm not sure what is causing this. My code snippet is attached. At the top of this function is
nvs_flash_init();
nvs_handle_t nvs;
nvs_open("Config_Data", NVS_READWRITE, &nvs);
Beta Was this translation helpful? Give feedback.
All reactions