This library controls the WNC. There is a derived class for usage from the K64F board.
Fork of WncControllerLibrary by
Revision 11:3ff6c1cb5b03, committed 2016-09-09
- Comitter:
- fkellermavnet
- Date:
- Fri Sep 09 23:58:12 2016 +0000
- Parent:
- 10:2ec59906a24e
- Child:
- 12:33290e9e6e5f
- Commit message:
- Fixed some SMS debug output.
Changed in this revision
| WncController.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WncController.cpp Fri Sep 09 23:07:36 2016 +0000
+++ b/WncController.cpp Fri Sep 09 23:58:12 2016 +0000
@@ -1163,10 +1163,10 @@
if ((respStr.size() > 0) && (respStr.find("ERROR") == string::npos)) {
// Part 2 of the text, this is the actual text part:
cmdStr = text;
- dbgPuts("TX: ", false); dbgPuts(cmdStr.c_str());
+ dbgPuts("TX: ", false); dbgPutsNoTime(cmdStr.c_str());
cmdStr += "\x1A"; // <CTRL>-Z is what tells the WNC the message is complete to send!
AtCmdErr_e r = mdmSendAtCmdRsp(cmdStr.c_str(), 10000, &respStr);
- dbgPuts("RX: ", false); dbgPuts(respStr.c_str());
+ dbgPuts("RX: ", false); dbgPutsNoTime(respStr.c_str());
if (respStr.size() == 0)
return (false);
else
