Increased wait time for the "send ok" after sending data on ESP8266

This commit is contained in:
SRGDamia1
2017-10-15 20:33:27 -04:00
parent 9a2ed09caf
commit 327c500b3e

View File

@@ -371,7 +371,7 @@ protected:
}
stream.write((uint8_t*)buff, len);
stream.flush();
if (waitResponse(GF(GSM_NL "SEND OK" GSM_NL)) != 1) {
if (waitResponse(10000L, GF(GSM_NL "SEND OK" GSM_NL)) != 1) {
return -1;
}
return len;