Accept "RDY" or "SMS Ready" from SIM7000

Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
Sara Damiano
2020-04-15 23:49:57 -04:00
parent fb3f8583a3
commit 8c5850ef7b
5 changed files with 5 additions and 5 deletions

View File

@@ -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();
}

View File

@@ -10,7 +10,7 @@
#define SRC_TINYGSMCOMMON_H_
// The current library version number
#define TINYGSM_VERSION "0.10.3"
#define TINYGSM_VERSION "0.10.4"
#if defined(SPARK) || defined(PARTICLE)
#include "Particle.h"