Browse Source

Longer lookup wait

v_master
Sara Damiano 6 years ago
parent
commit
d97c4babef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientXBee.h

+ 1
- 1
src/TinyGsmClientXBee.h 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);


Loading…
Cancel
Save