ESP8266 Developer Zone The Official ESP8266 Forum 2016-04-18T21:38:22+08:00 https://bbs.espressif.com:443/feed.php?f=65&t=2052 2016-04-18T21:38:22+08:00 2016-04-18T21:38:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2052&p=6519#p6519 <![CDATA[Re: Conditions for sleep mode]]>
But if we call "WiFi.disconnect()" or "WiFi.mode(WIFI_OFF)" , shouldn't it switch off the WiFi, irrespective of being in station mode or softAP mode.

thanks,
Rupak

Statistics: Posted by rupak426 — Mon Apr 18, 2016 9:38 pm


]]>
2016-04-18T17:48:27+08:00 2016-04-18T17:48:27+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2052&p=6511#p6511 <![CDATA[Re: Conditions for sleep mode]]>
Sorry that sleep mode is only available in station only mode, ESP8266 can not enter sleep in softAP mode.

Can you change it to be station mode first, then let it enter sleep mode ?

Statistics: Posted by ESP_Faye — Mon Apr 18, 2016 5:48 pm


]]>
2016-04-18T14:25:43+08:00 2016-04-18T14:25:43+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2052&p=6506#p6506 <![CDATA[Conditions for sleep mode]]>
I am reading the docs related to sleep mode for ESP-8266 and have a query:

1. My esp-8266 is running in softap. I want to sleep my AP and disconnect all the stations connected to it.Which sleep (modem sleep/light sleep/deep sleep) should be effective in my case.

2. what is the difference between "WiFi.disconnect()" and "WiFi.mode(WIFI_OFF)". Are these two work the same way and switch off the Wifi.

thanks,
Rupak

Statistics: Posted by rupak426 — Mon Apr 18, 2016 2:25 pm


]]>