easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI
Fork of WncControllerLibrary by
Diff: WncController.cpp
- Revision:
- 38:8bd0503dec44
- Parent:
- 37:92acf8c20e6d
- Child:
- 39:fef8b42c6b93
diff -r 92acf8c20e6d -r 8bd0503dec44 WncController.cpp --- a/WncController.cpp Fri Sep 15 23:28:54 2017 +0000 +++ b/WncController.cpp Sun Nov 26 03:50:50 2017 +0000 @@ -2070,7 +2070,10 @@ if (m_sMoreDebugEnabled) dbgPuts("------------ WNC Ready ---------------->"); } - + dbgPuts("new part"); + cmdRes1=at_send_wnc_cmd("AT%MEAS=\"8\"", &pRespStr, m_sCmdTimeoutMs); + cmdRes1=at_send_wnc_cmd("AT%PCONI", &pRespStr, m_sCmdTimeoutMs); + // If we made it this far and the WNC did respond, keep the ON state if (m_sState != WNC_NO_RESPONSE) m_sState = WNC_ON;