Sending and reception of big data file (1kB example)
Dependencies: modem_ref_helper CRC DebouncedInterrupt
Diff: files.cpp
- Revision:
- 9:26cd994b5303
- Parent:
- 7:77157f7b5a9b
- Child:
- 12:ae262faaa641
diff -r 4592de5f3ac1 -r 26cd994b5303 files.cpp --- a/files.cpp Wed Sep 26 13:59:45 2018 +0000 +++ b/files.cpp Thu Oct 11 14:01:39 2018 +0000 @@ -6,7 +6,7 @@ #define __DEVICE_ID__ 0x00000018 alp_file_header_t h_rev = { - .perm = RW_R, + .perm = RWR_R_, .prop = FS_PERMANENT_NOTIF, .afid = FID_ACTP_RPT_FULL, .ifid = IFID_REPORT, @@ -28,14 +28,14 @@ .fw_version.id = 0, .fw_version.major = 1, .fw_version.minor = 0, - .fw_version.patch = 1, + .fw_version.patch = 2, .fw_version.hash = 0x00000000, /// Not used .cup_max_size = 0x00000000 }; alp_file_header_t h_output_file = { - .perm = RW_RW, + .perm = RWRWRW, .prop = FS_VOLATILE, .afid = 0, .ifid = 0, @@ -57,7 +57,7 @@ }; alp_file_header_t h_input_file = { - .perm = RW_RW, + .perm = RWRWRW, .prop = FS_VOLATILE, .afid = 0, .ifid = 0,