Rev Author Line No. Line
1213 mija 1  
2 #include "gps.h"
3  
4 #define MAX_GGA_PLAYLOAD 100
5 #define MAX_GSA_PLAYLOAD 100
6 #define MAX_GSV_PLAYLOAD 100
7 #define MAX_RMC_PLAYLOAD 100
8 #define MAX_VTG_PLAYLOAD 100
9  
10 #define RETURN_RX 1
11 #define RETURN_GGA 2
12 #define RETURN_GSA 3
13 #define RETURN_GSV 4
14 #define RETURN_RMC 5
15 #define RETURN_VTG 6
16  
17  
18 uint8_t load_nmea(uint8_t rx_shift, char *rx_buf, char *scan_buf);
19 void nmea_gga(char *buf,DATA_GPS *pgps);
20 void nmea_gsa(char *buf,DATA_GPS *pgps);
21 void nmea_gsv(char *buf,DATA_GPS *pgps);
22 void nmea_rmc(char *buf,DATA_GPS *pgps);
23 void nmea_vtg(char *buf,DATA_GPS *pgps);