Data reception demo.
Dependencies: modem_ref_helper CRC
files.h
00001 #ifndef _FILES_H_ 00002 #define _FILES_H_ 00003 00004 #include "mbed.h" 00005 #include "revision.h" 00006 #include "alp_spec.h" 00007 #include "alp_helpers.h" 00008 #include "modem_ref.h" 00009 00010 TYPEDEF_STRUCT_PACKED { 00011 uint8_t fid; 00012 uint32_t offset; 00013 uint32_t length; 00014 } touch_t; 00015 00016 extern Queue<touch_t, 8> g_file_modified; 00017 00018 #define FID_HOST_REV 65 00019 #define SIZE_HOST_REV sizeof(revision_t) 00020 extern const alp_file_header_t h_rev; 00021 extern const revision_t f_rev; 00022 00023 #define FID_STRING_FILE 132 00024 #define SIZE_STRING_FILE 128 00025 extern const alp_file_header_t h_string_file; 00026 extern uint8_t f_string_file[SIZE_STRING_FILE]; 00027 00028 #define FID_STATUS_FILE 133 00029 #define SIZE_STATUS_FILE sizeof(uint8_t) 00030 extern const alp_file_header_t h_status_file; 00031 extern uint8_t f_status_file; 00032 00033 // No local data since the file will be created on the modem 00034 00035 00036 #endif // _FILE_H_
Generated on Tue Jul 12 2022 21:46:00 by 1.7.2