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) {
 | 
					  bool simUnlock(const char *pin) {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -160,7 +160,7 @@ public:
 | 
				
			|||||||
    sendAT(GF("GT64")); // shorten the guard time to 100ms
 | 
					    sendAT(GF("GT64")); // shorten the guard time to 100ms
 | 
				
			||||||
    waitResponse();
 | 
					    waitResponse();
 | 
				
			||||||
    writeChanges();
 | 
					    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
 | 
					    // wait for the response
 | 
				
			||||||
    unsigned long startMillis = millis();
 | 
					    unsigned long startMillis = millis();
 | 
				
			||||||
    while (!stream.available() && millis() - startMillis < 1000) {};
 | 
					    while (!stream.available() && millis() - startMillis < 1000) {};
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user