Closed
Description
Board
ESP32
Device Description
plain module
Hardware Configuration
N/A
Version
latest master
IDE Name
Arduino IDE
Operating System
macOS 12.1
Flash frequency
40Mhz
PSRAM enabled
no
Upload speed
115200
Description
WiFi.setHostname() does not work, hostname remain always esp32-XXXXXX
Sketch
WiFi.disconnect(true,true);
delay(1000);
WiFi.mode(WIFI_STA);
esp_wifi_set_country_code("IT", true);
WiFi.setHostname("hostname");
Debug Message
N/A
Other Steps to Reproduce
WiFi.setHostname("hostname");
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.