Waiting up to max for ublox socket close
This commit is contained in:
		@@ -88,8 +88,8 @@ public:
 | 
				
			|||||||
  virtual void stop() {
 | 
					  virtual void stop() {
 | 
				
			||||||
    TINY_GSM_YIELD();
 | 
					    TINY_GSM_YIELD();
 | 
				
			||||||
    at->sendAT(GF("+USOCL="), mux);
 | 
					    at->sendAT(GF("+USOCL="), mux);
 | 
				
			||||||
 | 
					    at->waitResponse(120000L);
 | 
				
			||||||
    sock_connected = false;
 | 
					    sock_connected = false;
 | 
				
			||||||
    at->waitResponse();
 | 
					 | 
				
			||||||
    rx.clear();
 | 
					    rx.clear();
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user