espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
432 stars 145 forks source link

There is issue if call nvs_set_xx and without call function nvs_commit (MEGH-4019) #196

Closed pnt325 closed 1 year ago

pnt325 commented 1 year ago

I have take a a look about the esp_schedule_nvs.c all the function set value to nvs without call nvs_commit while the api document mention should be call to actual storage.

shahpiyushv commented 1 year ago

Thanks for reporting this. We will fix this soon. Meanwhile, note that this nvs usage is disabled by default, and instead we use Rainmaker persistent parameters to ensure that the schedules stay active even across reboots.