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:
- 39:fef8b42c6b93
- Parent:
- 38:8bd0503dec44
diff -r 8bd0503dec44 -r fef8b42c6b93 WncController.cpp --- a/WncController.cpp Sun Nov 26 03:50:50 2017 +0000 +++ b/WncController.cpp Thu Dec 14 00:27:35 2017 +0000 @@ -2071,8 +2071,12 @@ 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); + int cmdRes4 = at_send_wnc_cmd("AT%MEAS=\"8\"", &pRespStr, m_sCmdTimeoutMs); + int cmdRes3 = at_send_wnc_cmd("AT+CGEQOS?", &pRespStr, m_sCmdTimeoutMs); + int cmdRes5 = at_send_wnc_cmd("AT%PCONI", &pRespStr, m_sCmdTimeoutMs); + int cmdRes6 = at_send_wnc_cmd("AT+CFUN?", &pRespStr, m_sCmdTimeoutMs); + int cmdRes7 = at_send_wnc_cmd("AT+CRLP?", &pRespStr, m_sCmdTimeoutMs); + // If we made it this far and the WNC did respond, keep the ON state if (m_sState != WNC_NO_RESPONSE)