NOT factory resetting in init
This commit is contained in:
@@ -140,7 +140,10 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sendAT(GF("&FZE0")); // Factory + Reset + Echo Off
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
return false;
|
||||
}
|
||||
|
@@ -163,7 +163,10 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sendAT(GF("&FZE0")); // Factory + Reset + Echo Off
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
return false;
|
||||
}
|
||||
|
@@ -138,7 +138,10 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sendAT(GF("&FZE0")); // Factory + Reset + Echo Off
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
return false;
|
||||
}
|
||||
|
@@ -160,7 +160,10 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sendAT(GF("&FZE0")); // Factory + Reset + Echo Off
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
return false;
|
||||
}
|
||||
|
@@ -164,8 +164,8 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
sendAT(GF("&FZ")); // Factory + Reset
|
||||
waitResponse();
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
|
@@ -169,8 +169,10 @@ public:
|
||||
if (!testAT()) {
|
||||
return false;
|
||||
}
|
||||
sendAT(GF("&FZ")); // Factory + Reset
|
||||
waitResponse();
|
||||
|
||||
// sendAT(GF("&FZ")); // Factory + Reset
|
||||
// waitResponse();
|
||||
|
||||
sendAT(GF("E0")); // Echo Off
|
||||
if (waitResponse() != 1) {
|
||||
return false;
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#define TinyGsmCommon_h
|
||||
|
||||
// The current library version number
|
||||
#define TINYGSM_VERSION "0.9.18"
|
||||
#define TINYGSM_VERSION "0.9.19"
|
||||
|
||||
#if defined(SPARK) || defined(PARTICLE)
|
||||
#include "Particle.h"
|
||||
|
Reference in New Issue
Block a user