Hi Experts,
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
Conditions for sleep mode
Re: Conditions for sleep mode
Postby ESP_Faye » Mon Apr 18, 2016 5:48 pm
Hi,
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 ?
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 ?
Re: Conditions for sleep mode
Postby rupak426 » Mon Apr 18, 2016 9:38 pm
Thanks for the quick response!!
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
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
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.