Browse Source

That signal fix should have been for WIFI

v_master
Sara Damiano 5 years ago
parent
commit
b5ac089604
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TinyGsmClientXBee.h

+ 1
- 1
src/TinyGsmClientXBee.h View File

@ -657,7 +657,7 @@ public:
XBEE_COMMAND_END_DECORATOR 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 == 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 if (beeType == XBEE_S6B_WIFI) return -93 + intRes; // the maximum sensitivity is -93dBm
else return -1*intRes; // need to convert to negative number else return -1*intRes; // need to convert to negative number


Loading…
Cancel
Save