Browse Source

Corrected call for hardware serial

v_master
SRGDamia1 7 years ago
parent
commit
d26f1f524e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      TinyGsmClientSIM800.h
  2. +1
    -1
      TinyGsmClientXBee.h

+ 1
- 1
TinyGsmClientSIM800.h View File

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


+ 1
- 1
TinyGsmClientXBee.h 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) {};


Loading…
Cancel
Save