Some improvements
This commit is contained in:
@@ -694,7 +694,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>,
|
|||||||
sendAT(GF("+CASTATE?"));
|
sendAT(GF("+CASTATE?"));
|
||||||
int8_t readMux = -1;
|
int8_t readMux = -1;
|
||||||
while (readMux != mux) {
|
while (readMux != mux) {
|
||||||
if (waitResponse(GF("+CASTATE:"),GF(GSM_OK)) != 1) {
|
if (waitResponse(3000, GF("+CASTATE:"),GF(GSM_OK)) != 1) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
readMux = streamGetIntBefore(',');
|
readMux = streamGetIntBefore(',');
|
||||||
|
Reference in New Issue
Block a user