From d26f1f524ec4d34f8670cdf1a5e0bc99a3532c93 Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Wed, 7 Jun 2017 10:58:00 -0400 Subject: [PATCH] Corrected call for hardware serial --- TinyGsmClientSIM800.h | 2 +- TinyGsmClientXBee.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TinyGsmClientSIM800.h b/TinyGsmClientSIM800.h index 3abbf96..97d54fa 100644 --- a/TinyGsmClientSIM800.h +++ b/TinyGsmClientSIM800.h @@ -241,7 +241,7 @@ public: } /* - * SIM card & Networ Operator functions + * SIM card & Network Operator functions */ bool simUnlock(const char *pin) { diff --git a/TinyGsmClientXBee.h b/TinyGsmClientXBee.h index b837cb5..af37c9f 100644 --- a/TinyGsmClientXBee.h +++ b/TinyGsmClientXBee.h @@ -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) {};