I added functionality to get the RSSI, BER, and Cell Neighbor for reporting connection issues to M2X
Revision 38:8c51632da81f, committed 2019-04-18
- Comitter:
- ng977t
- Date:
- Thu Apr 18 21:28:05 2019 +0000
- Parent:
- 35:7c9d0f29ff7a
- Commit message:
- Added functionality and documentation for logging Ber, RSSI, and Neighbor
Changed in this revision
WncController.cpp | Show annotated file Show diff for this revision Revisions of this file |
WncController.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/WncController.cpp Thu Mar 09 00:58:50 2017 +0000 +++ b/WncController.cpp Thu Apr 18 21:28:05 2019 +0000 @@ -1473,6 +1473,13 @@ return (at_send_wnc_cmd("AT+CMGL", log, m_sCmdTimeoutMs) == WNC_AT_CMD_OK); } +string * WncController::at_readCellNeighbor_wnc() +{ + string * pRespStr; + at_send_wnc_cmd("$QCRSRP?", &pRespStr, m_sCmdTimeoutMs); + return pRespStr; +} + size_t WncController::at_readSMStext_wnc(const char n, const char ** log) { static string smsReadTxtStr;
--- a/WncController.h Thu Mar 09 00:58:50 2017 +0000 +++ b/WncController.h Thu Apr 18 21:28:05 2019 +0000 @@ -356,7 +356,7 @@ * @return true if success else false. */ bool sendSMSText(const char * const phoneNum, const char * const text); - + string * at_readCellNeighbor_wnc(); /** * * Incoming messages are stored in a log in the WNC modem, this will read that