Search found 23 matches
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...
- Fri Apr 15, 2016 2:24 am
- Forum: General Q&A
- Topic: Delay function not called after "WiFi force sleep begin" function
- Replies: 1
- Views: 1249
Hi Experts, I have wi-fi running in AT+STA mode using Arduino 1.6.8. ESP-8266 firmware is based on SDK1.5 I want to put the wifi AP into modem sleep mode for a specific time x. Serial.println("diconnecting client and wifi"); wifi_set_opmode(NULL_MODE); wifi_fpm_set_sleep_type(MODEM_SLEEP_T...
- Fri Apr 15, 2016 2:19 am
- Forum: ESP8266 SDK
- Topic: sample code for delay in WiFi force sleep begin function
- Replies: 0
- Views: 1617
Hi, Can someone help me with the sample code for "delay" in "WiFi force sleep begin" function. I tried the below code and its not accounting the delay. wifi_set_opmode(NULL_MODE); wifi_fpm_set_sleep_type(MODEM_SLEEP_T); wifi_fpm_open(); WiFi.disconnect(); WiFi.mode(WIFI_OFF); Ser...