#ifndef _PARSE_GPS_H_ #define _PARSE_GPS_H_ #include #define MAX_NAEA_NUM 32 struct nmea_sequence { const uint8_t *data; uint16_t length; }; struct nmea { uint16_t nmea_num; struct nmea_sequence nmea_value[MAX_NAEA_NUM]; }; const uint8_t *parseGPS(const uint8_t *s, const uint8_t *e); void handleUnrecognisedNMEA(const uint8_t *data, uint16_t length); void handleGPGGA(const struct nmea *); void handleGPGSA(const struct nmea *); void handleGPGSV(const struct nmea *); void handleGPRMC(const struct nmea *); void handleGPVTG(const struct nmea *); void handleGPGLL(const struct nmea *); void handleGPZDA(const struct nmea *); void handlePJK(const struct nmea *); void handleGPTRA(const struct nmea *); void handleBESTPOSA(const struct nmea *); void handlePJKParam(const struct nmea *s); void handleRTKRebootComp(const struct nmea *s); #endif