Data reception demo.

Dependencies:   modem_ref_helper CRC

Revision:
15:e90cc8e37c4d
Parent:
7:84dc04f88c94
--- a/files.h	Thu May 28 09:13:19 2020 +0000
+++ b/files.h	Fri Oct 29 13:12:47 2021 +0000
@@ -7,6 +7,13 @@
 #include "alp_helpers.h"
 #include "modem_ref.h"
 
+TYPEDEF_STRUCT_PACKED {
+    uint8_t fid;
+    uint32_t offset;
+    uint32_t length;
+} touch_t;
+
+extern Queue<touch_t, 8> g_file_modified;
 
 #define FID_HOST_REV                65
 #define SIZE_HOST_REV               sizeof(revision_t)
@@ -21,6 +28,7 @@
 #define FID_STATUS_FILE             133
 #define SIZE_STATUS_FILE            sizeof(uint8_t)
 extern const alp_file_header_t      h_status_file;
+extern uint8_t                      f_status_file;
 
 // No local data since the file will be created on the modem