NOT factory resetting in init

This commit is contained in:
Sara Damiano
2019-09-26 16:38:15 -04:00
parent c10dfe0636
commit bfd6055c46
10 changed files with 26 additions and 12 deletions
+4 -1
View File
@@ -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;
}
+4 -1
View File
@@ -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;
}
+4 -1
View File
@@ -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;
}
+4 -1
View File
@@ -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;
}
+2 -2
View File
@@ -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) {
+4 -2
View File
@@ -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;
+1 -1
View File
@@ -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"