From 743152da8789a306e6f363761540fe607d345fd2 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Fri, 25 Jan 2019 15:02:05 -0500 Subject: [PATCH] Ignoring signal strength of 69 from LTE-M bee --- src/TinyGsmClientXBee.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TinyGsmClientXBee.h b/src/TinyGsmClientXBee.h index b39802a..1e21cc1 100644 --- a/src/TinyGsmClientXBee.h +++ b/src/TinyGsmClientXBee.h @@ -572,6 +572,7 @@ public: else sendAT(GF("DB")); // ask for the cell strength in dBm int16_t intRes = readResponseInt(); exitCommand(); + if (beeType == XBEE3_LTEM_ATT && intRes == 105) intRes = 0; // tends to reply with "69" when signal is unknown if (beeType == XBEE_S6B_WIFI) return -93 + intRes; // the maximum sensitivity is -93dBm else return -1*intRes; // need to convert to negative number }