WizziLab / modem_ref_v5_3_217

Dependents:   modem_ref_helper_for_v5_3_217

Revision:
30:74aa36420c61
Parent:
25:14c01b9fc04d
Child:
31:517fc900afba
--- a/include/modem_ref.h	Wed May 16 11:14:32 2018 +0000
+++ b/include/modem_ref.h	Mon Jun 04 15:32:05 2018 +0000
@@ -231,7 +231,7 @@
 typedef void (fx_boot_t)            (u8 cause, u16 nb_boot);
 
 //======================================================================
-// fx_boot_t
+// fx_busy_t
 //----------------------------------------------------------------------
 /// @brief  Called when BUSY URC is generated by the modem.
 /// @param  busy       : 0 if not busy, else busy
@@ -488,42 +488,65 @@
 // uses Wizzilab's D7A Stack, so it will be included in all "Modem"
 // applications.
 //=======================================================================
-// IDs
-#define FID_MODEM_REV                      2 // XXX Match D7A one.
-#define FID_HOST_REV                      65
-#define FID_WM_SCRATCH                    66
-#define FID_WM_CFG                        68
-#define FID_WM_HWCFG                      69
-#define FID_HST_RMTCTRL                   70
-#define FID_MODEM_LED_CFG                 71
-#define FID_CUP_CFG_BCAST                125
-#define FID_CUP_CFG                      126
-#define FID_CUP_CODE                     127
-#define FID_APP_CUP_CFG_BCAST            252 // XXX Normalized APP CUP Files
-#define FID_APP_CUP_CFG                  253 // XXX Normalized APP CUP Files
-#define FID_APP_CUP_CODE                 254 //
+// Modem Config/Status
+#define FID_WM_REV                        2 // Match D7A one.
+#define FID_HOST_REV                     65
+#define FID_WM_SCRATCH                   66
+#define FID_WM_STATUS                    67
+#define FID_WM_CFG                       68
+#define FID_WM_HWCFG                     69
+#define FID_WM_CTRL                      70
+#define FID_WM_LED_CFG                   71
 
-// TODO: TBD
+// LORAWAN "ITFs"
+#define FID_LWAN_ITF0                    98
+#define FID_LWAN_ITF1                    99
+
 // Action files
-#define FID_ACTP_RPT_FULL                100
-#define FID_ACTP_RPT_PART                101
+#define FID_ACTP_RPT_FULL               100
+#define FID_ACTP_RPT_PART               101
+
+// Reserved 
+#define FID_RESERVED_102                102 
+#define FID_RESERVED_103                103 
+#define FID_RESERVED_104                104 
+#define FID_RESERVED_105                105 
+#define FID_RESERVED_106                106 
+#define FID_RESERVED_107                107 
+
 // Interface files
-#define FID_D7A_ITF0                     108
-#define FID_D7A_ITF1                     109
-#define FID_D7A_ITF2                     110
-#define FID_D7A_ITF3                     111
-#define FID_D7A_ITF4                     112
-#define FID_D7A_ITF5                     113
-// Create "User" readable IFIDs
-// XXX Keep sync'ed to ITF definitions...
-#define IFID_RARE_SINGLE_CHECK  FID_D7A_ITF0
-#define IFID_SINGLE_CHECK       FID_D7A_ITF1
-#define IFID_REPORT             FID_D7A_ITF2
-#define IFID_REPORT_CHECKED     FID_D7A_ITF3
-#define IFID_PING               FID_D7A_ITF4
-#define IFID_BLINK              FID_D7A_ITF5
-// TODO LORAWAN "ITFs"
-#define FID_LWAN_ITF0                     98
-#define FID_LWAN_ITF1                     99
+#define IFID_ONESHOT_HOST               108
+#define IFID_ONESHOT_ACTP               109
+#define IFID_REPORT                     110
+#define IFID_ITF3                       111
+#define IFID_ITF4                       112
+#define IFID_BLINKER                    113
 
-#endif
\ No newline at end of file
+// Reserved 
+#define FID_RESERVED_114                114 
+#define FID_RESERVED_115                115 
+#define FID_RESERVED_116                116 
+#define FID_RESERVED_117                117 
+#define FID_RESERVED_118                118 
+#define FID_RESERVED_119                119 
+#define FID_RESERVED_120                120 
+#define FID_RESERVED_121                121 
+#define FID_RESERVED_122                122 
+#define FID_RESERVED_123                123 
+
+// Modem Security protocols
+#define FID_WM_CHALLENGE                124
+
+// Modem CUP
+#define FID_CUP_CFG_BCAST               125
+#define FID_CUP_CFG                     126
+#define FID_CUP_CODE                    127
+
+// HST CUP
+#define FID_APP_CUP_CFG_BCAST           252
+#define FID_APP_CUP_CFG                 253
+#define FID_APP_CUP_CODE                254
+
+#endif
+
+// vim:fdm=marker:fdc=2