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:
31:da32581b4507
Parent:
29:c69379977ae5
Child:
32:1e052a3e73fe
--- a/main.cpp	Fri Jul 22 15:06:52 2016 +0000
+++ b/main.cpp	Fri Jul 22 15:09:31 2016 +0000
@@ -173,6 +173,8 @@
     timer.start();
     while (timer.read() < 60) {
         const char * rsp_lst[] = { ok_str, error_str, NULL };
+        // Per WNC wait:
+        wait_ms(20);
         int rc = mdm_sendAtCmd("AT", rsp_lst, 500);
         if (rc == 0)
             return true; //timer.read();