Re-enable RF after a deepsleep with option 4
Re-enable RF after a deepsleep with option 4
Postby redge76 » Tue Mar 01, 2016 5:14 am
Hi,
I can't find anything on how to re-enable wifi after a system_deep_sleep() with the option deep_sleep_set_option(4).
The current workaround seems to call deep_sleep_set_option(0) and then system_deep_sleep(1).
Adafruit seems to be able to re-enable wifi with the arduino environment.
https://github.com/adafruit/adafruit-io ... rigger.ino
I was not able to reproduce this.
People on the arduino github project are also trying without success (WAKE_RF_DISABLED) :
https://github.com/esp8266/Arduino/issues/644
The example code provided by espressif use the set_option(0) solution:
https://github.com/EspressifSystems/low ... ensor_lp.c
So can someone at Espressif confirm how, if possible, to enable wifi after a deepsleep. I was not even able to do it by power reset. Is calling deep_sleep_set_option(0) the only solution ? Is there really anyway to do this without restart ?
Regards,
I can't find anything on how to re-enable wifi after a system_deep_sleep() with the option deep_sleep_set_option(4).
The current workaround seems to call deep_sleep_set_option(0) and then system_deep_sleep(1).
Adafruit seems to be able to re-enable wifi with the arduino environment.
https://github.com/adafruit/adafruit-io ... rigger.ino
I was not able to reproduce this.
People on the arduino github project are also trying without success (WAKE_RF_DISABLED) :
https://github.com/esp8266/Arduino/issues/644
The example code provided by espressif use the set_option(0) solution:
https://github.com/EspressifSystems/low ... ensor_lp.c
So can someone at Espressif confirm how, if possible, to enable wifi after a deepsleep. I was not even able to do it by power reset. Is calling deep_sleep_set_option(0) the only solution ? Is there really anyway to do this without restart ?
Regards,
-
- Posts: 1
- Joined: Wed Jul 05, 2017 9:56 pm
Re: Re-enable RF after a deepsleep with option 4
Postby pgoldstein » Wed Jul 05, 2017 10:09 pm
Is there any way to avoid the ESP8266 to sleep in any kind? I am facing this issue. After 30 minutes of inactivity, my ESP12-E goes to sleep without any command and I dont want it. I have to do a ping, inside a crontab, every 15 minutes to avoid it. thanks
Who is online
Users browsing this forum: No registered users and 64 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.