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

LwipIntfDev - method end() to enable repeated begin #9023

Merged
merged 3 commits into from
Nov 12, 2023

Conversation

JAndrassy
Copy link
Contributor

While it is not a common use, I think it should be possible to do Ethernet.end() and then Ethernet.begin() with a different static IP or return to DHCP after using a static IP.

I tested it with LegacyEthernetTest with hardwareStatus and linkStatus commented out (they don't work before begin here) and with hostByName commented out and with the getters/setters PR.

cores/esp8266/LwipIntfDev.h Outdated Show resolved Hide resolved
@JAndrassy JAndrassy force-pushed the intfdev_end_rebegin branch 2 times, most recently from 757dda7 to b9dc628 Compare November 10, 2023 10:40
cores/esp8266/LwipIntfDev.h Outdated Show resolved Hide resolved
@d-a-v d-a-v merged commit 74c04c8 into esp8266:master Nov 12, 2023
28 checks passed
@JAndrassy JAndrassy deleted the intfdev_end_rebegin branch November 13, 2023 06:28
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.

2 participants