#include "gps.h"

#define MAX_GGA_PLAYLOAD                100
#define MAX_GSA_PLAYLOAD                100
#define MAX_GSV_PLAYLOAD                100
#define MAX_RMC_PLAYLOAD                100
#define MAX_VTG_PLAYLOAD                100

#define RETURN_RX       1
#define RETURN_GGA      2
#define RETURN_GSA      3
#define RETURN_GSV      4
#define RETURN_RMC      5
#define RETURN_VTG      6


uint8_t  load_nmea(uint8_t rx_shift, char *rx_buf, char *scan_buf);
void nmea_gga(char *buf,DATA_GPS *pgps);
void nmea_gsa(char *buf,DATA_GPS *pgps);
void nmea_gsv(char *buf,DATA_GPS *pgps);
void nmea_rmc(char *buf,DATA_GPS *pgps);
void nmea_vtg(char *buf,DATA_GPS *pgps);