Search found 1 match
- Thu Dec 17, 2020 1:45 pm
- Forum: ESP-IDF
- Topic: NVS issue, unable read stored data from NVS
- Replies: 2
- Views: 3090
NVS issue, unable read stored data from NVS
Hi, I am able to write successfully but when I read from NVS it throws an error of "Error (ESP_ERR_NVS_INVALID_LENGTH) reading!" [Codebox=c file=Untitled.c]void set_nvs_string(char* data, char* key) { nvs_handle my_handle; esp_err_t err = nvs_open("storage", NVS_READWRITE, &my_handle); if (err != ES...