From b5ac089604ff00d60dbfa8bed2c2dc9b1020e337 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Tue, 10 Sep 2019 18:24:45 -0400 Subject: [PATCH] That signal fix should have been for WIFI --- src/TinyGsmClientXBee.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index addbfa6..4422986 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -657,7 +657,7 @@ public: XBEE_COMMAND_END_DECORATOR if (beeType == XBEE3_LTEM_ATT && intRes == 105) intRes = 0; // tends to reply with "69" when signal is unknown - if (beeType == XBEE3_LTEM_ATT && intRes == 0xFF) intRes = 0; // 0xFF returned for unknown + if (beeType == XBEE_S6B_WIFI && intRes == 0xFF) intRes = 0; // 0xFF returned for unknown if (beeType == XBEE_S6B_WIFI) return -93 + intRes; // the maximum sensitivity is -93dBm else return -1*intRes; // need to convert to negative number