re-shortened maintain

problem was new lines, not time.
This commit is contained in:
SRGDamia1
2017-10-30 14:14:09 -04:00
parent 1f5b7a0249
commit f899aeb126
5 changed files with 6 additions and 6 deletions

View File

@@ -217,7 +217,7 @@ public:
void maintain() { void maintain() {
//while (stream.available()) { //while (stream.available()) {
waitResponse(50, NULL, NULL); waitResponse(10, NULL, NULL);
//} //}
} }

View File

@@ -209,7 +209,7 @@ public:
} }
void maintain() { void maintain() {
waitResponse(50, NULL, NULL); waitResponse(10, NULL, NULL);
} }
bool factoryDefault() { bool factoryDefault() {

View File

@@ -213,7 +213,7 @@ public:
void maintain() { void maintain() {
//while (stream.available()) { //while (stream.available()) {
waitResponse(50, NULL, NULL); waitResponse(10, NULL, NULL);
//} //}
} }

View File

@@ -253,7 +253,7 @@ public:
} }
} }
while (stream.available()) { while (stream.available()) {
waitResponse(50, NULL, NULL); waitResponse(10, NULL, NULL);
} }
} }
@@ -467,7 +467,7 @@ public:
sendAT(GF("+CGACT=1,1")); sendAT(GF("+CGACT=1,1"));
waitResponse(60000L); waitResponse(60000L);
// Open a the definied bearer context // Open the definied GPRS bearer context
sendAT(GF("+SAPBR=1,1")); sendAT(GF("+SAPBR=1,1"));
waitResponse(85000L); waitResponse(85000L);
// Query the GPRS bearer context status // Query the GPRS bearer context status

View File

@@ -247,7 +247,7 @@ public:
} }
} }
while (stream.available()) { while (stream.available()) {
waitResponse(50, NULL, NULL); waitResponse(10, NULL, NULL);
} }
} }