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(); }