Re: tcpip_adapter_set_hostname() not working by mzimmers » Sat Oct 31, 2020 2:48 am Hi boarchuz - (EDITED to avoid confustion) Yes, it is. Here's the excerpts from my initialization: Code: Select all ESP_ERROR_CHECK(esp_netif_init()); // used in 4.1. ESP_ERROR_CHECK...
Re: tcpip_adapter_set_hostname() not working Quote by boarchuz » Wed Nov 04, 2020 1:13 am esp_netif_get_hostname will modify p; it doesn't point to 'hostname' any more. Try: Code: Select all ESP_LOGI(TAG, "setHostname(): get_hostname returned \"%s\".", p);m...
`tcpip_adapter_start_api` 函数是一个用于启动 TCP/IP 适配器的 API 函数。它通常用于初始化和管理...
Re: tcpip_adapter_set_hostname() not working by boarchuz » Wed Nov 04, 2020 1:13 am esp_netif_get_hostname will modify p; it doesn't point to 'hostname' any more. Try: Code: Select all ESP_LOGI(TAG, "setHostname(): get_hostname returned \"%s\".", p);m...