Search found 4 matches
- Fri Feb 14, 2020 4:38 pm
- Forum: ESP-IDF
- Topic: NVS duplicate writes
- Replies: 1
- Views: 2923
Re: NVS duplicate writes
Going through IDF 4.0 release notes, it seems to be included from https://github.com/espressif/esp-idf/pull/3310
- Thu Feb 13, 2020 3:34 pm
- Forum: ESP-IDF
- Topic: NVS duplicate writes
- Replies: 1
- Views: 2923
NVS duplicate writes
When updating a value of a key-value pair in NVS, does it check if the value changed or stayed the same?
I currently compare the saved value with the new one before writing to avoid unnecessary flash writes. However if the NVS backend does that already that would save some code and runtime.
-Patrick
I currently compare the saved value with the new one before writing to avoid unnecessary flash writes. However if the NVS backend does that already that would save some code and runtime.
-Patrick
- Mon Jun 24, 2019 6:13 pm
- Forum: ESP-IDF
- Topic: esp_http_client_read() returning wrong data
- Replies: 5
- Views: 10061
Re: esp_http_client_read() returning wrong data
I've been trying to get this to work for the past week, but I'm unable to concatenate the data between the "ON_DATA" events without the ESP crashing due to some memory allocation issue. Do you happen to have an example that shows how to assemble the buffer properly? I've seen similar questions aroun...
- Wed Jun 12, 2019 11:57 pm
- Forum: ESP-IDF
- Topic: esp_http_client_read() returning wrong data
- Replies: 5
- Views: 10061
esp_http_client_read() returning wrong data
Hi all, I've been playing around with the esp_http_client_example , specifically the https_with_url() function. My goal is it to download a JSON file, however I've noticed some strange behaviour wenn trying to read the date from esp_http_client_read() . For small files (~100bytes) this seems to work...