Ping pong app demo.

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
8:1b7101152a76
Parent:
3:0979d8cba5ec
Child:
10:b69fe2a98432
diff -r 7524fab147aa -r 1b7101152a76 modem_callbacks.cpp
--- a/modem_callbacks.cpp	Fri Mar 09 16:17:19 2018 +0000
+++ b/modem_callbacks.cpp	Thu Sep 20 11:03:19 2018 +0000
@@ -53,4 +53,21 @@
     
     // Modem re-booted, restart APP
     my_reset();
+}
+
+void my_busy(u8 busy)
+{
+    if (busy)
+    {
+        PRINT("Modem Busy\r\n");
+        
+        /* Stop report, do not use modem */
+        /* Wait for modem reboot or modem not busy */
+    }
+    else
+    {
+        PRINT("Modem not Busy\r\n");
+        
+        /* Resume reports */
+    }
 }
\ No newline at end of file