Longer lookup wait
This commit is contained in:
@@ -730,7 +730,7 @@ protected:
|
|||||||
strIP = stream.readStringUntil('\r'); // read result
|
strIP = stream.readStringUntil('\r'); // read result
|
||||||
strIP.trim();
|
strIP.trim();
|
||||||
if (!strIP.endsWith(GF("ERROR"))) gotIP = true;
|
if (!strIP.endsWith(GF("ERROR"))) gotIP = true;
|
||||||
delay(250); // short wait before trying again
|
delay(2500); // wait a bit before trying again
|
||||||
}
|
}
|
||||||
if (gotIP) { // No reason to continue if we don't know the IP address
|
if (gotIP) { // No reason to continue if we don't know the IP address
|
||||||
IPAddress ip = TinyGsmIpFromString(strIP);
|
IPAddress ip = TinyGsmIpFromString(strIP);
|
||||||
|
Reference in New Issue
Block a user