Corrected call for hardware serial

This commit is contained in:
SRGDamia1
2017-06-07 10:58:00 -04:00
parent a129331e42
commit d26f1f524e
2 changed files with 2 additions and 2 deletions

View File

@@ -241,7 +241,7 @@ public:
}
/*
* SIM card & Networ Operator functions
* SIM card & Network Operator functions
*/
bool simUnlock(const char *pin) {

View File

@@ -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) {};