mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 10:19:29 +02:00
Add feature to set a custom device hostname
This commit is contained in:
parent
f94a011063
commit
daeeece63a
5 changed files with 12 additions and 1 deletions
|
@ -26,6 +26,7 @@ std::string password = WIFI_PASSWORD; // Set in USER_SECRETS.h
|
|||
const char* ssidAP = "Battery Emulator"; // Maximum of 63 characters, also used for device name on web interface
|
||||
const char* passwordAP = AP_PASSWORD; // Set in USER_SECRETS.h
|
||||
const uint8_t wifi_channel = 0; // Set to 0 for automatic channel selection
|
||||
const char* hostname = "battery-emulator"; // Hostname for the device, needs to be enabled in USER_SETTINGS.h
|
||||
|
||||
#ifdef WEBSERVER
|
||||
const char* http_username = HTTP_USERNAME; // Set in USER_SECRETS.h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue