Search found 1 match

by weineng
Wed Nov 11, 2020 4:16 am
Forum: ESP IoT Solution 中文讨论版
Topic: ESP32如何设置DHCPC Hostname
Replies: 0
Views: 5114

ESP32如何设置DHCPC Hostname

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