mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Longer wait on BG96 stop
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
		| @@ -103,10 +103,11 @@ class TinyGsmBG96 : public TinyGsmModem<TinyGsmBG96>, | ||||
|     TINY_GSM_CLIENT_CONNECT_OVERRIDES | ||||
|  | ||||
|     void stop(uint32_t maxWaitMs) { | ||||
|       uint32_t startMillis = millis(); | ||||
|       dumpModemBuffer(maxWaitMs); | ||||
|       at->sendAT(GF("+QICLOSE="), mux); | ||||
|       sock_connected = false; | ||||
|       at->waitResponse(); | ||||
|       at->waitResponse((maxWaitMs - (millis() - startMillis))); | ||||
|     } | ||||
|     void stop() override { | ||||
|       stop(15000L); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user