From edcbc5459dcded95b41551283d122fc61e7e7e8c Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Sun, 15 Oct 2017 21:25:57 -0400 Subject: [PATCH] Increased maintain to not miss closed at slow bauds --- src/TinyGsmClientA6.h | 2 +- src/TinyGsmClientESP8266.h | 2 +- src/TinyGsmClientM590.h | 2 +- src/TinyGsmClientSIM800.h | 2 +- src/TinyGsmClientU201.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/TinyGsmClientA6.h b/src/TinyGsmClientA6.h index 6dd9634..71f62c5 100644 --- a/src/TinyGsmClientA6.h +++ b/src/TinyGsmClientA6.h @@ -217,7 +217,7 @@ public: void maintain() { //while (stream.available()) { - waitResponse(10, NULL, NULL); + waitResponse(50, NULL, NULL); //} } diff --git a/src/TinyGsmClientESP8266.h b/src/TinyGsmClientESP8266.h index 32cec81..089665f 100644 --- a/src/TinyGsmClientESP8266.h +++ b/src/TinyGsmClientESP8266.h @@ -209,7 +209,7 @@ public: } void maintain() { - waitResponse(10, NULL, NULL); + waitResponse(50, NULL, NULL); } bool factoryDefault() { diff --git a/src/TinyGsmClientM590.h b/src/TinyGsmClientM590.h index a5ae273..621bf69 100644 --- a/src/TinyGsmClientM590.h +++ b/src/TinyGsmClientM590.h @@ -213,7 +213,7 @@ public: void maintain() { //while (stream.available()) { - waitResponse(10, NULL, NULL); + waitResponse(50, NULL, NULL); //} } diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index 8007f05..3e5c4e4 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -253,7 +253,7 @@ public: } } while (stream.available()) { - waitResponse(10, NULL, NULL); + waitResponse(50, NULL, NULL); } } diff --git a/src/TinyGsmClientU201.h b/src/TinyGsmClientU201.h index ddd2f99..e0fcd5a 100644 --- a/src/TinyGsmClientU201.h +++ b/src/TinyGsmClientU201.h @@ -247,7 +247,7 @@ public: } } while (stream.available()) { - waitResponse(10, NULL, NULL); + waitResponse(50, NULL, NULL); } }