Has anyone gotten light sleep and wifi working using the IDF?
The documentation says to call esp_wifi_stop(); before calling esp_light_sleep_start(); but it doesn’t say anything about what to co when it wakes back up.
I can’t find any examples that do this. I searched for esp_wifi_stop() in all the IDF and ADF example folders and it is not used even once.
Check this discussion: https://www.esp32.com/viewtopic.php?t=6519#p27953
They seem to discuss exactly that.
I already found that discussion. They never got to a solution (at least not in the thread). I sent the original poster a message, asking if he ever got it working, but have not gotten a reply.