Static IP with ESP-NETIF

tosemusername
Posts: 17
Joined: Tue Feb 05, 2019 5:28 pm
Location: Brazil

Static IP with ESP-NETIF

Postby tosemusername » Thu Jul 02, 2020 10:33 pm

How to properly do it? Like many parts of IDF, the documentation is lacking, and the only thing I know is that I have to call `esp_netif_set_ip_info` with the DHCP client not running.
Is there no way to kickstart the netif library with this information loaded already, or do I really have to start it with DHCP first? When exactly should I stop the DHCP client? Should I restart it after changing the IP?

Who is online

Users browsing this forum: No registered users and 204 guests