WizziLab / modem_ref

Dependents:   modem_ref_helper

Revision:
32:0d95f66f654a
Parent:
31:517fc900afba
Child:
35:ac940cf8ebe6
--- a/include/modem_ref.h	Wed Jul 18 15:26:54 2018 +0000
+++ b/include/modem_ref.h	Thu Jul 19 14:11:49 2018 +0000
@@ -70,6 +70,24 @@
 #define WC_SEQ_OFFSET           3
 #define WC_FLOWID_OFFSET        4
 
+// =======================================================================
+// wm_cfg_t
+// -----------------------------------------------------------------------
+/// Modem Configuration
+// ===================================================================={{{
+TYPEDEF_STRUCT_PACKED
+{
+    /// Automatic openning of D7A stack
+    u8  autostart_d7a;
+    /// Automatic 'Join' of LoRaWAN stack
+    u8  autostart_lwan;
+    /// Automatic procedure start time (sec)
+    u16 autostart_delay_s;
+    /// Debug COM port number (N/A:KAL_COM_NULL)
+    u8  dbg_com;
+} wm_cfg_t;
+//}}}
+
 // Input:Serial-traffic coming from Modem must be packetized in WC chuncks
 // before being sent to modem-driver through 'modem_input'.
 // An example deserializer can be found in "wc_deserialized.c".