Add EspNetif::set_ip_info - #398
Conversation
cf40c85 to
e3b919f
Compare
|
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? |
|
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. |
|
FYI, we've been using this in production for many months now, we noticed that for wifi, you have to disconnect and reconnect for it to take effect - this is not the case for Ethernet. |
Fixes #332