Dash7Board Code Upgrade Protocol demonstration code.

Dependencies:   modem_ref_helper CRC

Revision:
1:dd4e18b267a1
Parent:
0:5589104abba0
Child:
2:49acddddec25
--- a/modem_callbacks.cpp	Thu Feb 01 11:42:42 2018 +0000
+++ b/modem_callbacks.cpp	Tue Feb 27 11:06:42 2018 +0000
@@ -124,4 +124,21 @@
     
     // Modem re-booted, restart APP
     my_reset();
+}
+
+void my_busy(u8 busy)
+{
+    if (busy)
+    {
+        PRINT("Modem Busy\r\n");
+        
+        /* Stop application */
+        /* Wait for modem reboot or modem not busy */
+    }
+    else
+    {
+        PRINT("Modem not Busy\r\n");
+        
+        /* Resume application */
+    }
 }
\ No newline at end of file