Skip to content

lease renewal? #3255

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

Closed
whyameye opened this issue May 18, 2017 · 1 comment
Closed

lease renewal? #3255

whyameye opened this issue May 18, 2017 · 1 comment

Comments

@whyameye
Copy link

whyameye commented May 18, 2017

Issue 27 of PubSubClient states from the author:

if you connect using DHCP you have to renew your DHCP lease from time to time. If you fail to do that, all your connections will drop. Look into the Arduino docs into how to do it.

I wasn't finding a lot on renewing the lease for the ESP8266. Is there something I need to do to renew it or is it built into the ESP8266WiFI loop?

@earlephilhower
Copy link
Collaborator

@d-a-v can correct me if I'm wrong, but DHCP lease renewal should be taken care of in LWIP v2 internals and you shouldn't need to do anything in your own code.

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

No branches or pull requests

2 participants