arm studio build

Dependencies:   libxDot-mbed5

Revision:
12:7944e4dbe853
Parent:
9:cc23b2049639
Child:
14:fc836a5a5d2f
--- a/inc/commI2C.h	Thu Oct 18 17:17:26 2018 +0000
+++ b/inc/commI2C.h	Thu Jan 17 14:21:33 2019 +0000
@@ -35,6 +35,7 @@
    XDOT_CMD_SET_NTWKSESS,   //write/read network session to/from flash      
    XDOT_CMD_SET_RADIO,      //set's radio parameters   
    XDOT_CMD_NVM,            // xdot nvm memory 
+   XDOT_CMD_NVM_ABP,        // xdot nvm for multicast ABP creds
    XDOT_CMD_UNDEFINED,      //last cmd, not used 
 };
 
@@ -75,7 +76,8 @@
   int16_t   mdot_ret;                   //mdot return code after calling send function
   uint8_t   chksum_err;                 //1 if chksum err on proc upstream pkt
   int8_t    snr;                        //last snr, 0 if no rx1/2 ack
-  uint8_t   rsvd[15];                   //reserved for future use
+  uint8_t   appPort;                    //rcvd app port (rev 0309)
+  uint8_t   rsvd[14];                   //reserved for future use
 }pkt_ack;
 //structure: results returned to proc for eui and api_level
 //v0307: eui pkt now used to read/set radio params also
@@ -106,7 +108,7 @@
   xdot_radio_params params;
 }pkt_setradiodwn;
 //--------------------------------------------------------------------------
-//nvm ptks
+//nvm ptks for OTAA creds
 enum {
      XDOT_NVM__READ = 0,
      XDOT_NVM_SET = 1,
@@ -128,8 +130,27 @@
   uint8_t   bChkSumOK; 
   nvm       nvmData;
 }pkt_setnvmdwn;
+//--------------------------------------------------------------------------
+//nvm ptks for ABP creds
 
-//--------------------------------------------------------------------------
+//upstream pkt struc
+typedef struct {  
+  uint8_t   cmd;                        //cmd received from proc
+  uint8_t   dataLen;                    //datalen found in pkt  
+  uint8_t   nvm_option;                 //read,write,restore  
+  nvmABP    nvmData;
+}pkt_setnvmABPup;
+//dwnstream pkt struc
+typedef struct {  
+  uint8_t   ack;                        //ack header response
+  uint8_t   cmd;                        //cmd received from proc    
+  uint8_t   dataLen;                    //datalen found in pkt  
+  uint8_t   bChkSumOK; 
+  nvmABP    nvmData;
+}pkt_setnvmABPdwn;
+
+
+
 
 
 //structure: results returned to proc network session