Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable automatic light-sleep on esp8266 #325

Open
kzyapkov opened this issue Jul 27, 2017 · 0 comments
Open

Enable automatic light-sleep on esp8266 #325

kzyapkov opened this issue Jul 27, 2017 · 0 comments

Comments

@kzyapkov
Copy link
Collaborator

Currently, mongoose_poll() is invoked every 100 ms, regardless of whether there are events to be handled. This practically makes using the light-sleep functionality of esp8266 impossible with mongoose-os.

Please consider making this possible. It seems it is enough to stop the hardware watchdog and schedule s_mg_poll_tmr for the maximum interval of 0x689D0 when there's nothing going on.

Also here:
https://forum.mongoose-os.com/discussion/1423/esp8266-automatic-light-sleep-mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants