Pedro Campos / Mbed OS SERVOS_V0_3
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers gps.h Source File

gps.h

00001 #ifndef GPS_H
00002 #define GPS_H
00003 
00004 void procesaGPS(void);              // Comprueba trama pendiente de GPS
00005 void parserGPS(char *cmd);          // Procesa trama GPS recibida
00006 bool tramaGPSOK( char *nmeaStr );   // COMPRUEBA la trama NMEA y devuelve true si es correcta
00007 void onSerialGPS();                 // Rutina de atencion de interrupciones de los datos recibidos por el canal serie del GPS
00008 
00009 
00010     
00011     
00012 
00013 
00014 // ESTRUCTURA DE ESTADO DEL GPS
00015 struct st_datos_GPS {       
00016     char ns, ew, tf, status;
00017     int fq, nst, fix, date;                                     // fix quality, Number of satellites being tracked, 3D fix
00018     float latitude, longitude, timefix, speed, altitude, track;
00019     float latitud, longitud;
00020 };
00021 
00022 
00023 
00024 #endif