I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Diff: WncController.cpp
- Revision:
- 11:3ff6c1cb5b03
- Parent:
- 10:2ec59906a24e
- Child:
- 12:33290e9e6e5f
diff -r 2ec59906a24e -r 3ff6c1cb5b03 WncController.cpp --- a/WncController.cpp Fri Sep 09 23:07:36 2016 +0000 +++ b/WncController.cpp Fri Sep 09 23:58:12 2016 +0000 @@ -1163,10 +1163,10 @@ if ((respStr.size() > 0) && (respStr.find("ERROR") == string::npos)) { // Part 2 of the text, this is the actual text part: cmdStr = text; - dbgPuts("TX: ", false); dbgPuts(cmdStr.c_str()); + dbgPuts("TX: ", false); dbgPutsNoTime(cmdStr.c_str()); cmdStr += "\x1A"; // <CTRL>-Z is what tells the WNC the message is complete to send! AtCmdErr_e r = mdmSendAtCmdRsp(cmdStr.c_str(), 10000, &respStr); - dbgPuts("RX: ", false); dbgPuts(respStr.c_str()); + dbgPuts("RX: ", false); dbgPutsNoTime(respStr.c_str()); if (respStr.size() == 0) return (false); else