-->
Page 1 of 1

Q on MODEM_SLEEP

PostPosted: Thu Dec 29, 2016 6:49 pm
by Neil Young
Hi,

following the samples provided here https://www.espressif.com/sites/default ... ide_cn.pdf for forcing the ESP into MODEM_SLEEP I'm wondering, why I have to

wifi_station_disconnect();
wifi_set_opmode(NULL_MODE);

and

wifi_set_opmode(STATION_MODE);    // set station mode
wifi_station_connect();  

on wake up. Isn't the MODEM_SLEEP mode supposed to maintain the connection to the AP while sleeping? Why do I have to explicitly disconnect/connect and to go over NULL_MODE?

Regards

Re: Q on MODEM_SLEEP

PostPosted: Fri Dec 30, 2016 4:26 pm
by Neil Young
Nobody?