Set ESP32 Custom Hostname with Arduino IDE

ESP32 Setting a Custom Hostname (Arduino IDE)

By default, the hostname of ESP32 based development boards is espressif. But we can change the default hostname by using WiFi.setHostname() function. In this tutorial, we will learn to set the custom hostname for the ESP32 board using Arduino IDE.  In Arduino IDE, we can change the hostname of ESP32 by calling WiFi.setHostname(YOUR_NEW_HOSTNAME); before WiFi.begin(); … Read more