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

Experimental: add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME #6356

Merged
merged 17 commits into from
Sep 5, 2019

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Jul 29, 2019

edit: This is an experimental addition to the API

Adds new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME,
also:

references:
#6346
#6266
#6057 #5527

This is an attempt to put right into the core all the necessary code to wifi-sleep and deep-sleep so there is only one place to debug for everybody.
I am personally not able to reproduce all the WDT issues so even after hypothetical merge, we will need to bring fixes found by all the community, like #6266 (comment) and #6172 (comment) (only citing them).

This PR does not change legacy behavior when using the regular API (well.. not supposed to :]).

@d-a-v d-a-v changed the title add new WiFi modes: WIFI_SHUTDOWN & WIFI_RESUME with example add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME with example Jul 29, 2019
@d-a-v d-a-v changed the title add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME with example add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME Jul 29, 2019
@d-a-v d-a-v changed the title add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME Experimental: add new WiFi (pseudo) modes: WIFI_SHUTDOWN & WIFI_RESUME Aug 30, 2019
@d-a-v d-a-v requested a review from devyte August 30, 2019 13:01
cores/esp8266/crc32.cpp Outdated Show resolved Hide resolved
libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.h Outdated Show resolved Hide resolved
libraries/ESP8266WiFi/src/ESP8266WiFiType.h Show resolved Hide resolved
@d-a-v d-a-v merged commit 273f400 into esp8266:master Sep 5, 2019
@d-a-v d-a-v deleted the shutdown branch September 5, 2019 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants