But `esp_netif_set_hostname()` always returns `ESP_ERR_ESP_NETIF_IF_NOT_READY`. `esp_netif_get_hostname()` also always only returns `ESP_ERR_ESP_NETIF_IF_NOT_READY`. I've checked the source code of these functions and they look like: Code: Select all #if LWIP_NETIF_HOSTNAME ...
esp_netif_dhcpc_stop(eth_netif);esp_netif_ip_info_tinfo = { .netmask.addr=ESP_IP4TOADDR(255,255,255,0), .ip.addr=ESP_IP4TOADDR(192,168,2,101), .gw.addr=ESP_IP4TOADDR(0,0,0,0) };esp_netif_set_ip_info(eth_netif, &info); eth_glue = esp_eth_new_netif_glue(eth_handle)...
Re: esp_netif_init(); Postbylbernstone»Wed Mar 03, 2021 3:14 pm arduino-esp32 1.0.5 is built on IDF 3.3. There is an option in the lower left corner of the idf docs to choose the version. This will help you identify what functions are available. Learning to use grep would hel...