Code: Select all
esp_netif_set_hostname
More specifically, I changed this line from the example:
Code: Select all
esp_netif_create_default_wifi_sta();
Code: Select all
esp_netif_t* netif = esp_netif_create_default_wifi_sta();
ESP_ERROR_CHECK(esp_netif_set_hostname(
netif, "something"));
How do I have to change the wifi-station-example, so that the hostname is adapted?