diff --git a/src/TinyGsmClientESP8266.h b/src/TinyGsmClientESP8266.h index 9be7201..51e9065 100644 --- a/src/TinyGsmClientESP8266.h +++ b/src/TinyGsmClientESP8266.h @@ -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;