|
@@ -384,7 +384,9 @@ void setupWifi()
|
|
|
WiFi.softAPConfig(wifiConfig.getSoftAPIPAddress(), wifiConfig.getSoftAPGateway(), wifiConfig.getSoftAPSubnet());
|
|
|
WiFi.softAP(wifiConfig.getSoftAPSsid().c_str(), wifiConfig.getSoftAPPassword().c_str());
|
|
|
|
|
|
+
|
|
|
// Connect to WiFi
|
|
|
+ WiFi.hostname("avg_powerbox");
|
|
|
WiFi.begin(wifiConfig.getWifiNetworkSsid().c_str(), wifiConfig.getWifiNetworkPassword().c_str());
|
|
|
|
|
|
if (WiFi.waitForConnectResult() != WL_CONNECTED)
|