Some improvements

This commit is contained in:
Francesco Stefanni
2021-03-17 15:19:04 +01:00
parent f0abeef22d
commit 28f7e7b298

View File

@@ -694,7 +694,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>,
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(',');