A simple project for sending button input up to AT&T Flow

Dependencies:   FXOS8700CQ MODSERIAL mbed

For instructions on using this program, see the AT&T Starter Kit tutorial on it.

Revision:
64:09004cd610df
Parent:
63:90d7c69993cd
Child:
66:b2425419b0cc
diff -r 90d7c69993cd -r 09004cd610df wnc_control.cpp
--- a/wnc_control.cpp	Mon Aug 01 20:19:58 2016 +0000
+++ b/wnc_control.cpp	Mon Aug 01 23:32:55 2016 +0000
@@ -90,7 +90,7 @@
       }
     } while (WNC_MDM_ERR != WNC_OK);
     
-    pc.printf("My Server IP: %s\r\n", MyServerIpAddress.c_str());
+    PRINTF("My Server IP: %s\r\n", MyServerIpAddress.c_str());
 }
 
 void sockopen_mdm(void)
@@ -344,11 +344,11 @@
   {
       string truncStr(s,57);
       truncStr += "...";
-      pc.printf("Send: <<%s>>\r\n",truncStr.c_str());
+      PRINTF("Send: <<%s>>\r\n",truncStr.c_str());
   }
   else
   #endif
-      pc.printf("Send: <<%s>>\r\n",s);
+      PRINTF("Send: <<%s>>\r\n",s);
 #endif
 
   int res = mdm_sendAtCmdRsp(s, rsp_lst, ms_timeout, &wncStr, &len);