Updated ref

Dependencies:   FXOS8700Q-driver MODSERIAL

Fork of AAT_LWM2M_K64F by Vinay Shrivastav

Revision:
56:1f3fccf0d3f4
Parent:
55:381a4d2fdebb
Child:
57:c8acc7c16cbd
--- a/resources.h	Mon Jan 23 06:04:13 2017 +0000
+++ b/resources.h	Mon Jan 23 06:21:44 2017 +0000
@@ -14,13 +14,13 @@
 
 struct gnss_params
 {
-     float   latitude;    //Latitude
-     float   longitude;   //Longitude
-     float   altitude;    //Altitude 
-     float   baselineLen; //BaseLine Length
-     float   heading;     // Heading
+     double   latitude;    //Latitude
+     double   longitude;   //Longitude
+     double   altitude;    //Altitude 
+     double   baselineLen; //BaseLine Length
+     double   heading;     // Heading
      int     date;
-     int     time;
+     double  time;
      int     fix_quality; // 0 INVALID, 1 GPS, 2 DIFF   
      int     numsat;     
 };
@@ -450,7 +450,7 @@
             sscanf(cmd, "$PSTI,%d,%f,%d,%c,%c,%f,%f,%f,%f,%f", &pstino, &timefix, &date, &status, &mode, &eastprj, &northprj, &upprj, &blength, &bcourse);
             if(32 == pstino)
             {
-                output.printf("PSTI32 Fix taken at: %d, Date: %d, Status: %c, Mode: %c, Baseline length: %f m, Azimuth: %f degrees\n", timefix, date, status, mode, blength, bcourse);
+                output.printf("PSTI32 Fix taken at: %f, Date: %d, Status: %c, Mode: %c, Baseline length: %f m, Azimuth: %f degrees\n", timefix, date, status, mode, blength, bcourse);
                 gnss_scan.heading = bcourse; gnss_scan.date = date; //gnss_scan.time = timefix; 
                 gnss_scan.baselineLen = blength; //BaseLine Length
                 PSTI32 = true;
@@ -630,7 +630,7 @@
     {
         char ns, ew, tf, status, mode;
         int fq, nst, fix, date, timefix, pstino;   // fix quality, Number of satellites being tracked, 3D fix
-        float latitude, longitude, speed, altitude, eastprj, northprj, upprj, blength, bcourse;
+        double latitude, longitude, speed, altitude, eastprj, northprj, upprj, blength, bcourse;
         
         // Global Positioning System Fix Data
         if(strncmp(cmd,"$GPGGA", 6) == 0)