easy connect wnc added to http request with debug mode enabled. traces collected for AT%CGEQOS, AT%MEAS, AT%PCONI

Fork of WncControllerLibrary by Fred Kellerman

Files at this revision

API Documentation at this revision

Comitter:
nrithya
Date:
Thu Dec 14 00:27:35 2017 +0000
Parent:
38:8bd0503dec44
Commit message:
easy connect WNC added to HTTP example with debug mode turned on to obtain AT command traces for AT%MEAS, AT%PCONI, AT%CGEQOS

Changed in this revision

WncController.cpp Show annotated file Show diff for this revision Revisions of this file
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)