Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By ulumu
#15843 All deep sleep function will do a reset.

U can download the latest programming guide here

Currently, only option 4 will make the Wifi modem disable when wakeup (after a reset)
User avatar
By Aes
#15893 system_deep_sleep_set_option();
can have values 0,1,2,4, those and the result on power consumption on wake up are explained here
[url http://bbs.espressif.com/viewtopic.php?f=7&t=171&p=617]http://bbs.espressif.com/viewtopic.php?f=7&t=171&p=617
[/url]
I got now good results with value 2.
But sometimes my program wake up and fails to establish the wifi connection again, for this I count the loops of my program after wake up. If those exceed a certain value I do a reset with abort(); I always get a connection after this second reset.
After wake up the program starts like after an hardware reset. So be sure you don't need any variable values from before the initiation of deep sleep.