Add feature to set a custom device hostname

This commit is contained in:
Fredrik 2025-07-03 12:21:55 +02:00
parent f94a011063
commit daeeece63a
5 changed files with 12 additions and 1 deletions

View file

@ -118,6 +118,7 @@
/* Connectivity options */
#define WIFI
//#define WIFICONFIG //Enable this line to set a static IP address / gateway /subnet mask for the device. see USER_SETTINGS.cpp for the settings
//#define HOSTNAME //Enable this line to use a custom hostname for the device, hostname is set in USER_SETTINGS.cpp
#define WEBSERVER //Enable this line to enable WiFi, and to run the webserver. See USER_SETTINGS.cpp for the Wifi settings.
#define WIFIAP //When enabled, the emulator will broadcast its own access point Wifi. Can be used at the same time as a normal Wifi connection to a router.
#define MDNSRESPONDER //Enable this line to enable MDNS, allows battery monitor te be found by .local address. Requires WEBSERVER to be enabled.