Worth noting that it is also possible to parse json in chunks, keeping the state of the decoder between chunks. So it's easily possible to process a 1MB JSON file downloded over HTTP with the available RAM, as long as the fields you need from the json are themselves small. Can you share how to pars...
When you enter light sleep mode then code running on regular CPUs is stopped, you can check it by adding print log right after it. Code is resumed after waking up. You can search about this API, which i am leaving ON to wake up with pins: esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_O...
The address is also incorrect.
The value will be more close to 0x120000 or 0x130000, but its not the exact number i think.
Factory app partition most likely will be at 0x10000, so it should be 0x120000.
In your case it would be best if you configure factory partition start address.
I dont know the example code, but this function return the correct value after wifi scan is finished, so either the API finish and event is received or you call scan stop before call this
Im not sure what you are trying to do, but did you try to use light sleep mode?
It will stop executing code on CPU/s, which will decrease a bit power consumption, and will keep all data in RAM.
All you need to stop wifi before enter light sleep mode to turn off radio.
Yes, it is not obvious but its annoying during development until you learn it hard way. Another option is to use "forget LE device" on iPhone. Its somewhere in there, but honestly i dont know where. You can also try to connect with nrf connect and use option to refresh services with "discover servic...
Ok.. once again, after having searched a while, I find the obvious answer just after having written the post here. Hoping that it might nonetheless spare someone else some time, I do not delete my question and post the simple answer: The esp_http_client_config_t has a buffer_size attribute (that de...