Increased wait time for the "send ok" after sending data on ESP8266
This commit is contained in:
@@ -371,7 +371,7 @@ protected:
|
|||||||
}
|
}
|
||||||
stream.write((uint8_t*)buff, len);
|
stream.write((uint8_t*)buff, len);
|
||||||
stream.flush();
|
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 -1;
|
||||||
}
|
}
|
||||||
return len;
|
return len;
|
||||||
|
Reference in New Issue
Block a user