Mbed library to handle GPS data reception and parsing

Dependents:   GPS_U-blox_NEO-6M_Code

Features

  • All positionning parameters are contained into a global data structure.
  • Automatic nema string parsing and data structure update.
    • GSA,GGA,VTG and RMC
  • Convert latitude and longitude to decimal value.
  • Converts latittude,longitude and altitude to ECEF coordinates.

Planed developement

  • Test library for RTOS use.
  • Complete the nema parsing decoders (couple of parameters are not parsed yet and not present in the data structure).
  • Add conversion tool to get ENU coordinates.
Revision:
2:72ac4d7044a7
Parent:
0:0c1aa5906cef
Child:
3:20f8faf2ad18
--- a/Decoders/GPGSAdecoder.hpp	Mon Apr 06 17:41:43 2015 +0000
+++ b/Decoders/GPGSAdecoder.hpp	Sun Feb 14 05:55:38 2016 +0000
@@ -1,8 +1,6 @@
 #include "mbed.h"
 #include "mbedGPSDefs.h"
 
-
-
 void DecodeGPGSA(char * tokenStr,GPSInfo& data)
 {
     int parameterCount = 0;
@@ -12,7 +10,7 @@
     token = strtok_r(ptr, ",",&rest);
     while (token != NULL)
     {
-        //printf("DEBUG ... PARAM_CNT:%d\n",parameterCount);
+        //Debuging.printf("DEBUG ... PARAM_CNT:%d\n",parameterCount);
         if(parameterCount == 1)
             data.mode = *token;
             
@@ -22,7 +20,7 @@
             
         if(parameterCount == (3 + data.TrackedSatCnt)){
             data.PDOP = atof(token);
-            //printf("DEBUG ... PDOP:%f\n",data.PDOP);
+            //Debuging.printf("DEBUG ... PDOP:%f\n",data.PDOP);
         }   
         if(parameterCount == (3 + data.TrackedSatCnt + 1)){
             data.HDOP = atof(token);