Accept "RDY" or "SMS Ready" from SIM7000
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
@@ -216,7 +216,7 @@ class TinyGsmSim7000 : public TinyGsmModem<TinyGsmSim7000>,
|
||||
if (waitResponse(10000L) != 1) { return false; }
|
||||
sendAT(GF("+CFUN=1,1"));
|
||||
if (waitResponse(10000L) != 1) { return false; }
|
||||
waitResponse(60000L, GF("SMS Ready"));
|
||||
waitResponse(60000L, GF("SMS Ready"), GF("RDY"));
|
||||
return init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user