I did some test with light sleep.
My router beacon interval is set at the default 100ms.
If I set the router DTIM to 100 then light sleep works as expected, the device sleeps for 10 seconds.
However, if I set the router DTIM to 255, the device will still only sleep for about 10s. The rest of the time it will stay awake.
The 26s DTIM:
The light sleep period:
Is there something I can do to sleep the complete DTIM?
ESP32-C3 won't light sleep for specified DTIM
Re: ESP32-C3 won't light sleep for specified DTIM
I see, I got caught by the inactive timeout.
did the trick.
Code: Select all
esp_wifi_set_inactive_time(WIFI_IF_STA, 30)
Who is online
Users browsing this forum: theodote and 59 guests