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

In WiFi STA if static IP is used there is no way to go back to dhcp #1896

Closed
baruch opened this issue Apr 11, 2016 · 4 comments
Closed

In WiFi STA if static IP is used there is no way to go back to dhcp #1896

baruch opened this issue Apr 11, 2016 · 4 comments

Comments

@baruch
Copy link
Contributor

baruch commented Apr 11, 2016

Basic Infos

When I set static IP I can't go back to dhcp mode unless I reset the esp completely since _useStaticIp is set and cannot be reset in any way.

In addition, if I just set WiFi.config() with all zeros this is considered as using a static ip instead of resetting to dhcp as I would have expected.

Hardware

Hardware: ?ESP-12?
Core Version: ?2.1.0?

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@igrr
Copy link
Member

igrr commented Jun 12, 2016

WiFi.config(0U, 0U, 0U); should now work in git version.

@baruch
Copy link
Contributor Author

baruch commented Jun 19, 2016

If the issue is committed to 2.3.0, shouldn't the issue be closed?

@igrr
Copy link
Member

igrr commented Jun 20, 2016

Lacking more detailed issue states (i.e. "resolved" versus "closed"), i use "staged-for-release" label and keep issues open until the fix is released.
Reason for that is that people tend to search only for open issues (this is the default behaviour of issue search box). As it happened here on multiple occasions, once I close an issue, another identical one gets opened because the old one wasn't visible in search anymore.

@baruch
Copy link
Contributor Author

baruch commented Jun 20, 2016

Understood. Thanks.

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