LoRaWAN demo.

Dependencies:   modem_ref_helper DebouncedInterrupt

Revision:
12:18ab0181d584
Parent:
10:79ad72acf6cb
Child:
17:948df2ca24b1
--- a/files.cpp	Wed Sep 26 14:04:39 2018 +0000
+++ b/files.cpp	Thu Oct 11 10:54:27 2018 +0000
@@ -6,7 +6,7 @@
 #define __DEVICE_ID__               0x00000017
 
 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_sensor_config = {
-    .perm = RW_RW,
+    .perm = RWRWRW,
     .prop = FS_VOLATILE,
     .afid = 0,
     .ifid = 0,
@@ -53,7 +53,7 @@
 };
 
 alp_file_header_t h_sensor_light = {
-    .perm = RW_R,
+    .perm = RWRWR_,
     .prop = FS_VOLATILE_NOTIF,
     .afid = FID_ACTP_RPT_FULL,
     .ifid = IFID_REPORT,
@@ -62,7 +62,7 @@
 };
 
 alp_file_header_t h_alarm = {
-    .perm = RW_R,
+    .perm = RWRWR_,
     .prop = FS_VOLATILE,
     .afid = 0,
     .ifid = 0,