You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
/* |
|
* |
|
* NMEA library |
|
* URL: http://nmea.sourceforge.net |
|
* Author: Tim (xtimor@gmail.com) |
|
* Licence: http://www.gnu.org/licenses/lgpl.html |
|
* $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $ |
|
* |
|
*/ |
|
|
|
#ifndef __NMEA_PARSE_H__ |
|
#define __NMEA_PARSE_H__ |
|
|
|
#include "sentence.h" |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
int nmea_pack_type(const char *buff, int buff_sz); |
|
int nmea_find_tail(const char *buff, int buff_sz, int *res_crc); |
|
|
|
int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack); |
|
int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack); |
|
int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack); |
|
int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack); |
|
int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack); |
|
|
|
void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info); |
|
void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info); |
|
void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info); |
|
void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info); |
|
void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info); |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /* __NMEA_PARSE_H__ */
|
|
|