ESP32如何设置DHCPC Hostname

weineng
Posts: 1
Joined: Wed Nov 11, 2020 4:10 am

ESP32如何设置DHCPC Hostname

Postby weineng » Wed Nov 11, 2020 4:16 am

ESP8266有wifi_station_set_hostname 进行设置,ESP32有类似指令可用吗?
试过下面这三个指令在AP上的显示依然出现"espressif"
WiFi.setHostname(myHostname);
WiFi.softAPsetHostname(myHostname);
tcpip_adapter_set_hostname(TCPIP_ADAPTER_IF_STA, hname);
Attachments
未命名.png
未命名.png (67.97 KiB) Viewed 303 times

Who is online

Users browsing this forum: No registered users and 1 guest