From 327c500b3e0f7a00f0edfc3bcf4e968df0287ba2 Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Sun, 15 Oct 2017 20:33:27 -0400 Subject: [PATCH] Increased wait time for the "send ok" after sending data on ESP8266 --- src/TinyGsmClientESP8266.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;