Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of WncControllerLibrary by
Revision 39:fef8b42c6b93, committed 2017-12-14
- 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 |
--- 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)
