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();
|
||||
}
|
||||
|
||||
|
@@ -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"
|
||||
|
Reference in New Issue
Block a user