esp-idf-svc icon indicating copy to clipboard operation
esp-idf-svc copied to clipboard

Add EspNetif::set_ip_info

Open torkleyy opened this issue 1 year ago • 6 comments

Fixes #332

torkleyy avatar Mar 25 '24 08:03 torkleyy

Probably we will also need a method to reenable DHCP.

torkleyy avatar Mar 25 '24 14:03 torkleyy

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

ivmarkov avatar Mar 28 '24 08:03 ivmarkov

Sure, there's no rush.

torkleyy avatar Mar 28 '24 08:03 torkleyy

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 avatar Apr 02 '24 14:04 Vollbrecht

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

Vollbrecht avatar May 25 '24 10:05 Vollbrecht

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.

torkleyy avatar May 26 '24 07:05 torkleyy