Network manager supports setHostname

This commit is contained in:
Petr Kracik 2026-01-15 00:03:19 +01:00
parent 1e3cb0c49e
commit aa2dfcdfd1
2 changed files with 27 additions and 16 deletions

View file

@ -13,7 +13,8 @@ private:
unsigned long _apStartup = 0;
unsigned long _apTimeout = 0;
String _generateAPSSID();
String _hostName = "";
void _processAPTimeout();
public:
@ -27,6 +28,8 @@ public:
bool setup();
void loop();
void setHostName(const String& hostName);
// WiFi methods
bool setupAP(String apName, String apPsk = "");
bool disableAP();