Use
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); WiFi.setHostname("My-ESP32-Test");
to set a custom hostname for the ESP32. The Wifi.config(...)
line is required as a workaround for this bug on Github.
Use
WiFi.config(INADDR_NONE, INADDR_NONE, INADDR_NONE); WiFi.setHostname("My-ESP32-Test");
to set a custom hostname for the ESP32. The Wifi.config(...)
line is required as a workaround for this bug on Github.
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow