From 28f7e7b2986732fb21b633af607c20921831a509 Mon Sep 17 00:00:00 2001 From: Francesco Stefanni Date: Wed, 17 Mar 2021 15:19:04 +0100 Subject: [PATCH] Some improvements --- src/TinyGsmClientSIM7000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyGsmClientSIM7000.h b/src/TinyGsmClientSIM7000.h index 9b32f37..e9c7da0 100644 --- a/src/TinyGsmClientSIM7000.h +++ b/src/TinyGsmClientSIM7000.h @@ -694,7 +694,7 @@ class TinyGsmSim7000 : public TinyGsmModem, sendAT(GF("+CASTATE?")); int8_t readMux = -1; while (readMux != mux) { - if (waitResponse(GF("+CASTATE:"),GF(GSM_OK)) != 1) { + if (waitResponse(3000, GF("+CASTATE:"),GF(GSM_OK)) != 1) { return 0; } readMux = streamGetIntBefore(',');