mirror of
				https://github.com/KevinMidboe/TinyGSM.git
				synced 2025-10-29 18:00:18 +00:00 
			
		
		
		
	Corrected call for hardware serial
This commit is contained in:
		@@ -241,7 +241,7 @@ public:
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /*
 | 
			
		||||
   * SIM card & Networ Operator functions
 | 
			
		||||
   * SIM card & Network Operator functions
 | 
			
		||||
   */
 | 
			
		||||
 | 
			
		||||
  bool simUnlock(const char *pin) {
 | 
			
		||||
 
 | 
			
		||||
@@ -160,7 +160,7 @@ public:
 | 
			
		||||
    sendAT(GF("GT64")); // shorten the guard time to 100ms
 | 
			
		||||
    waitResponse();
 | 
			
		||||
    writeChanges();
 | 
			
		||||
    sendAT(GF("IM"));  // Get the Hardware series; 0x601 for S6B (Wifi)
 | 
			
		||||
    sendAT(GF("HS"));  // Get the Hardware series; 0x601 for S6B (Wifi)
 | 
			
		||||
    // wait for the response
 | 
			
		||||
    unsigned long startMillis = millis();
 | 
			
		||||
    while (!stream.available() && millis() - startMillis < 1000) {};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user