Longer lookup wait

This commit is contained in:
Sara Damiano
2019-01-25 15:19:33 -05:00
parent 743152da87
commit d97c4babef

View File

@@ -730,7 +730,7 @@ protected:
strIP = stream.readStringUntil('\r'); // read result
strIP.trim();
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
IPAddress ip = TinyGsmIpFromString(strIP);