Decod Msg GPS

Dependencies:   C12832 mbed

Fork of ComGPS by SAADI Nadia

Files at this revision

API Documentation at this revision

Comitter:
pfe
Date:
Wed Apr 08 08:32:31 2015 +0000
Parent:
1:821bd360ec5b
Commit message:
sss

Changed in this revision

GPS_Decod_Function/DecMsgGPGGA.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/GPS_Decod_Function/DecMsgGPGGA.h	Tue Mar 03 13:35:34 2015 +0000
+++ b/GPS_Decod_Function/DecMsgGPGGA.h	Wed Apr 08 08:32:31 2015 +0000
@@ -154,34 +154,6 @@
     HUnite=Data[0];//Extraction de l'unité de la hauteur
     if((HMSL_H>35)||(HUnite!='M'))goto LabFin;
     MSG_GPGGA_Valid=1;
- /*   UserWR_buffer[0]++;
- //-----------------------------------------------------------------------------
-    UserWR_buffer[1] = hh;
-    UserWR_buffer[2] = mm;
-    UserWR_buffer[3] = ss;
- //-----------------------------------------------------------------------------
-    UserWR_buffer[4] = LatDeg;
-    UserWR_buffer[5] = LatMin;
-    UserWR_buffer[6] = LatMin1;
-    UserWR_buffer[7] = LatMin2;
-    UserWR_buffer[8] = LatDir;
- //-----------------------------------------------------------------------------
-    UserWR_buffer[9]  = LongDeg;
-    UserWR_buffer[10] = LongMin;
-    UserWR_buffer[11] = LongMin1;
-    UserWR_buffer[12] = LongMin2;
-    UserWR_buffer[13] = LongDir;
- //-----------------------------------------------------------------------------
-    UserWR_buffer[14] = Qual;
- //-----------------------------------------------------------------------------
-    UserWR_buffer[15] = HMSL_H;
-    UserWR_buffer[16] = HMSL_L;
-    UserWR_buffer[17] = HMSL_1;
-    UserWR_buffer[18] = HMSL_2;
-    UserWR_buffer[19] = SignHMSL;
-    UserWR_buffer[20] = HUnite;
-// -----------------------------------------------------------------------------
-*/
 LabFin:
 return MSG_GPGGA_Valid;
 }
\ No newline at end of file
--- a/main.cpp	Tue Mar 03 13:35:34 2015 +0000
+++ b/main.cpp	Wed Apr 08 08:32:31 2015 +0000
@@ -23,7 +23,7 @@
       if(GPS.readable()){
         gps_mess=GPS.getc();
         if (gps_mess=='$'){
-             NbDataRec=0;//Initialisation de bbb à 0
+             NbDataRec=0;//Initialisation à 0
              En=1;
              while(En){
                     while(!GPS.readable());