mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Increased maintain to not miss closed at slow bauds
This commit is contained in:
		@@ -217,7 +217,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
    //while (stream.available()) {
 | 
					    //while (stream.available()) {
 | 
				
			||||||
      waitResponse(10, NULL, NULL);
 | 
					      waitResponse(50, NULL, NULL);
 | 
				
			||||||
    //}
 | 
					    //}
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -209,7 +209,7 @@ public:
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
      waitResponse(10, NULL, NULL);
 | 
					      waitResponse(50, NULL, NULL);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  bool factoryDefault() {
 | 
					  bool factoryDefault() {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -213,7 +213,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  void maintain() {
 | 
					  void maintain() {
 | 
				
			||||||
    //while (stream.available()) {
 | 
					    //while (stream.available()) {
 | 
				
			||||||
      waitResponse(10, NULL, NULL);
 | 
					      waitResponse(50, NULL, NULL);
 | 
				
			||||||
    //}
 | 
					    //}
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -253,7 +253,7 @@ public:
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    while (stream.available()) {
 | 
					    while (stream.available()) {
 | 
				
			||||||
      waitResponse(10, NULL, NULL);
 | 
					      waitResponse(50, NULL, NULL);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -247,7 +247,7 @@ public:
 | 
				
			|||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    while (stream.available()) {
 | 
					    while (stream.available()) {
 | 
				
			||||||
      waitResponse(10, NULL, NULL);
 | 
					      waitResponse(50, NULL, NULL);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user