arm studio build

Dependencies:   libxDot-mbed5

Revision:
27:ee9c063a535b
Parent:
24:e5ff476cd04e
Child:
29:b3e9a0477d96
diff -r f51ff4ad7a93 -r ee9c063a535b inc/commI2C.h
--- a/inc/commI2C.h	Sat Feb 22 18:14:25 2020 +0000
+++ b/inc/commI2C.h	Wed Jun 10 14:50:17 2020 +0000
@@ -39,6 +39,7 @@
    XDOT_CMD_NVM_ABP,        // xdot nvm for multicast ABP creds
    XDOT_CMD_SET_RADIO_CLASS, // change radio class to A or C
    XDOT_CMD_RESTORE_SESSION,// NEW: restore XDOT OTAA session  
+   XDOT_CMD_GET_GPS,        // get gps time stamp   
    XDOT_CMD_UNDEFINED,      //last cmd, not used 
 };
 
@@ -95,6 +96,14 @@
   uint8_t   apiLvlData[4];              //api level 
   uint8_t   verLvlData[4];              //ver level   
 }pkt_eui;
+//structure: results returned to proc for gps cmd
+typedef struct {
+  uint8_t   ack;                        //ack header response
+  uint8_t   cmd;                        //cmd received from proc
+  uint8_t   dataLen;                    //datalen found in pkt
+  uint8_t   gpsData[8];                 //gps time: 64 bit 
+}pkt_gps;
+
 //--------------------------------------------------------------------------
 //structure: cmd structure to proc for setting radio parameters
 //upstream pkt struc