Page 1 of 1
How to set ESP32 to light sleep mode?
Posted: Thu Feb 23, 2017 7:43 am
by roctwo
Hi!
I have seen esp_err_t esp_wifi_set_ps(wifi_ps_type_t type).But it's augument:
Code: Select all
typedef enum {
WIFI_PS_NONE, /**< No power save */
WIFI_PS_MODEM, /**< Modem power save */
} wifi_ps_type_t;
It seems that no light sleep option.So,how to set ESP32 to light sleep mode?
Re: How to set ESP32 to light sleep mode?
Posted: Thu Feb 23, 2017 7:55 am
by ESP_Sprite
At the moment, you can't... it's not really compatible with the way esp-idf works. Later on, we'll add a simple implementation which works similar to the deep sleep API. If we can pull it off, we may also add some code that automatically does light sleep if peripheral use allows it.
Re: How to set ESP32 to light sleep mode?
Posted: Fri Feb 24, 2017 1:19 am
by roctwo
ESP_Sprite wrote:At the moment, you can't... it's not really compatible with the way esp-idf works. Later on, we'll add a simple implementation which works similar to the deep sleep API. If we can pull it off, we may also add some code that automatically does light sleep if peripheral use allows it.
OK ,Thank for your reply.I see.I will wait.
Re: How to set ESP32 to light sleep mode?
Posted: Thu Mar 02, 2017 9:45 pm
by Gerald Hilderink
I would love to see a light sleep mode. It's the last piece I am missing to create truly energy-saving software for the ESP32.
Re: How to set ESP32 to light sleep mode?
Posted: Sat Mar 25, 2017 6:34 am
by roctwo
It has been more than a month since I asked the question, I would like to ask how the progress of light sleep. Our choice of esp32 is largely due to that we saw the characteristics of the "light sleep" on documents.
Re: How to set ESP32 to light sleep mode?
Posted: Thu Jun 01, 2017 1:33 pm
by Jackie_Kilby
What's the process of the ESP32 to support light sleep mode? I also got the light mode from the technical specification document
Re: How to set ESP32 to light sleep mode?
Posted: Tue Aug 22, 2017 4:27 pm
by jones12ax7
Hello, any news about light-sleep ?
I'm building a low power GPS device and keeping esp32 active just to wait for serial data from gps is very inefficient.
I think that in Deep sleep it could be waken up by serial but reseting the device every second doesn't seem to be a good idea...
I thought about pooling the gps module instead.
Any suggestions?