update docs

This commit is contained in:
Stephan Mühl
2023-04-01 21:31:05 +02:00
parent 4cbce3f860
commit 641572671f
9 changed files with 66 additions and 37 deletions

View File

@@ -123,13 +123,14 @@ void ServerManager_::setup()
{
WiFi.config(local_IP, gateway, subnet, primaryDNS, secondaryDNS);
}
IPAddress myIP = mws.startWiFi(10000, uniqueID, "12345678");
myIP = mws.startWiFi(10000, uniqueID, "12345678");
isConnected = !(myIP == IPAddress(192, 168, 4, 1));
Serial.println(myIP.toString());
if (isConnected)
{
mws.addOptionBox("Network");
mws.addOption("Static IP", NET_STATIC);
mws.addOption("Local IP", NET_IP);