From d6b5d7d5ebdc0ed10f47c0b0bf0d17678101866a Mon Sep 17 00:00:00 2001 From: SRGDamia1 Date: Mon, 2 Oct 2017 15:23:06 -0400 Subject: [PATCH] Removed sleep option for cellular --- TinyGsmClientXBee.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TinyGsmClientXBee.h b/TinyGsmClientXBee.h index c01a515..1ecad38 100644 --- a/TinyGsmClientXBee.h +++ b/TinyGsmClientXBee.h @@ -230,8 +230,10 @@ public: commandMode(); sendAT(GF("SM"),1); waitResponse(); - sendAT(GF("SO"),200); - waitResponse(); + if (beeType != S6B) { + sendAT(GF("SO"),200); + waitResponse(); + } writeChanges(); exitCommand(); }