IDF 4.0 light sleep and maintaining WiFi AP connection
Posted: Thu May 28, 2020 9:27 pm
My app was able to stay WiFi connected to the AP without issues until I added periodic light_sleep for power saying.
Essentially the same code presented in the light_sleep example: https://github.com/espressif/esp-idf/bl ... ple_main.c
Now shortly after a few light sleep naps (~5 seconds), there are bcn missed errors, and eventually it disconnects from AP.
Is there something special that needs to happen to maintain WiFi connectivity during light_sleep?
Thanks!
Essentially the same code presented in the light_sleep example: https://github.com/espressif/esp-idf/bl ... ple_main.c
Code: Select all
/* Enter sleep mode */
esp_light_sleep_start();
Is there something special that needs to happen to maintain WiFi connectivity during light_sleep?
Thanks!