Page 1 of 1

light sleep and wifi

Posted: Sat Jun 25, 2022 3:51 pm
by Altivecer
Hi,

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.

Help!

Any sample code would be most helpful.