Increased time again for XBee host lookup
This commit is contained in:
		| @@ -477,7 +477,7 @@ private: | |||||||
|     String IPaddr; IPaddr.reserve(16); |     String IPaddr; IPaddr.reserve(16); | ||||||
|     // wait for the response |     // wait for the response | ||||||
|     unsigned long startMillis = millis(); |     unsigned long startMillis = millis(); | ||||||
|     while (!stream.available() && millis() - startMillis < 10000) {}; |     while (stream.available() < 8 && millis() - startMillis < 30000) {}; | ||||||
|     IPaddr = streamReadUntil('\r');  // read result |     IPaddr = streamReadUntil('\r');  // read result | ||||||
|     IPAddress ip; |     IPAddress ip; | ||||||
|     ip.fromString(IPaddr); |     ip.fromString(IPaddr); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user