re-shortened maintain
problem was new lines, not time.
This commit is contained in:
		@@ -217,7 +217,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
    //while (stream.available()) {
 | 
					    //while (stream.available()) {
 | 
				
			||||||
      waitResponse(50, NULL, NULL);
 | 
					      waitResponse(10, NULL, NULL);
 | 
				
			||||||
    //}
 | 
					    //}
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -209,7 +209,7 @@ public:
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
      waitResponse(50, NULL, NULL);
 | 
					      waitResponse(10, NULL, NULL);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bool factoryDefault() {
 | 
					  bool factoryDefault() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -213,7 +213,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
    //while (stream.available()) {
 | 
					    //while (stream.available()) {
 | 
				
			||||||
      waitResponse(50, NULL, NULL);
 | 
					      waitResponse(10, NULL, NULL);
 | 
				
			||||||
    //}
 | 
					    //}
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -247,7 +247,7 @@ public:
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    while (stream.available()) {
 | 
					    while (stream.available()) {
 | 
				
			||||||
      waitResponse(50, NULL, NULL);
 | 
					      waitResponse(10, NULL, NULL);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user