Updated ref

Dependencies:   FXOS8700Q-driver MODSERIAL

Fork of AAT_LWM2M_K64F by Vinay Shrivastav

Revision:
55:381a4d2fdebb
Parent:
54:5f8d9f40acb8
Child:
56:1f3fccf0d3f4
--- a/resources.h	Mon Jan 23 05:46:42 2017 +0000
+++ b/resources.h	Mon Jan 23 06:04:13 2017 +0000
@@ -433,7 +433,7 @@
         if(strncmp(cmd,"$GPGGA", 6) == 0)
         {
             sscanf(cmd, "$GPGGA,%f,%f,%c,%f,%c,%d,%d,%f", &timefix, &latitude, &ns, &longitude, &ew, &fq, &nst, &altitude);
-            //output.printf("GPGGA Fix taken at: %d, Latitude: %f %c, Longitude: %f %c, Fix quality: %d, Number of sat: %d, Altitude: %f M\n", timefix, latitude, ns, longitude, ew, fq, nst, altitude);
+            output.printf("GPGGA Fix taken at: %f, Latitude: %f %c, Longitude: %f %c, Fix quality: %d, Number of sat: %d, Altitude: %f M\n", timefix, latitude, ns, longitude, ew, fq, nst, altitude);
             gnss_scan.latitude  = latitude;
             gnss_scan.longitude = longitude;
             //gnss_scan.date = date; 
@@ -447,11 +447,11 @@
         // Baseline length, Azimuth
         if(strncmp(cmd,"$PSTI", 5) == 0)
         {
-            sscanf(cmd, "$PSTI,%d,%d,%d,%c,%c,%f,%f,%f,%f,%f", &pstino, &timefix, &date, &status, &mode, &eastprj, &northprj, &upprj, &blength, &bcourse);
+            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);
-                gnss_scan.heading = bcourse; gnss_scan.date = date; gnss_scan.time = timefix; 
+                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);
+                gnss_scan.heading = bcourse; gnss_scan.date = date; //gnss_scan.time = timefix; 
                 gnss_scan.baselineLen = blength; //BaseLine Length
                 PSTI32 = true;
             }