mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Handle URC's related to automatic time updates
Signed-off-by: Sara Damiano <sdamiano@stroudcenter.org>
This commit is contained in:
		| @@ -539,6 +539,10 @@ class TinyGsmMC60 : public TinyGsmModem<TinyGsmMC60>, | ||||
|           } | ||||
|           data = ""; | ||||
|           DBG("### Closed: ", mux); | ||||
|         } else if (data.endsWith(GF("+QNITZ:" GSM_NL))) { | ||||
|           streamSkipUntil('\n');  // URC for time sync | ||||
|           DBG("### Network time has been updated."); | ||||
|           data = ""; | ||||
|         } | ||||
|       } | ||||
|     } while (millis() - startMillis < timeout_ms); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user