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

Add EspNetif::set_ip_info #398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

torkleyy
Copy link
Contributor

Fixes #332

@torkleyy torkleyy force-pushed the set-ip-pr branch 3 times, most recently from cf40c85 to e3b919f Compare March 25, 2024 09:26
@torkleyy
Copy link
Contributor Author

Probably we will also need a method to reenable DHCP.

@ivmarkov
Copy link
Collaborator

Limited access to internet right now. Will follow up when I have an opportunity

@torkleyy
Copy link
Contributor Author

Sure, there's no rush.

@Vollbrecht
Copy link
Collaborator

from the issue conversation ivmarkov thought that it may be problematic to update such values when the netif is in the up state, But you thought based on the docu that it still should work. So you can confirm that calling esp_netif_set_ip_info does not produce sideeffects / e.g its save to be callable in any state?

@Vollbrecht
Copy link
Collaborator

@ivmarkov @torkleyy bumping anything you have to say here to bring this forward?

@torkleyy
Copy link
Contributor Author

I haven't tested this much as we follow a different approach atm. In any case there is no way to reenable DHCP with just this method added.

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.

Cannot change network interface after creation
3 participants