esp-idf-svc
esp-idf-svc copied to clipboard
Add EspNetif::set_ip_info
Fixes #332
Probably we will also need a method to reenable DHCP.
Limited access to internet right now. Will follow up when I have an opportunity
Sure, there's no rush.
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?
@ivmarkov @torkleyy bumping anything you have to say here to bring this forward?
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.