Guido Ottaviani / Mbed 2 deprecated LeonardoMbos

Dependencies:   mbos Watchdog TextLCD mbed ConfigFile

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers parse.h Source File

parse.h

Go to the documentation of this file.
00001 /*
00002  *
00003  * NMEA library
00004  * URL: http://nmea.sourceforge.net
00005  * Author: Tim (xtimor@gmail.com)
00006  * Licence: http://www.gnu.org/licenses/lgpl.html
00007  * $Id: parse.h 4 2007-08-27 13:11:03Z xtimor $
00008  *
00009  */
00010 
00011 #ifndef __NMEA_PARSE_H__
00012 #define __NMEA_PARSE_H__
00013 
00014 #include "sentence.h "
00015 
00016 #ifdef  __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 int nmea_pack_type(const char *buff, int buff_sz);
00021 int nmea_find_tail(const char *buff, int buff_sz, int *res_crc);
00022 
00023 int nmea_parse_GPGGA(const char *buff, int buff_sz, nmeaGPGGA *pack);
00024 int nmea_parse_GPGSA(const char *buff, int buff_sz, nmeaGPGSA *pack);
00025 int nmea_parse_GPGSV(const char *buff, int buff_sz, nmeaGPGSV *pack);
00026 int nmea_parse_GPRMC(const char *buff, int buff_sz, nmeaGPRMC *pack);
00027 int nmea_parse_GPVTG(const char *buff, int buff_sz, nmeaGPVTG *pack);
00028 
00029 void nmea_GPGGA2info(nmeaGPGGA *pack, nmeaINFO *info);
00030 void nmea_GPGSA2info(nmeaGPGSA *pack, nmeaINFO *info);
00031 void nmea_GPGSV2info(nmeaGPGSV *pack, nmeaINFO *info);
00032 void nmea_GPRMC2info(nmeaGPRMC *pack, nmeaINFO *info);
00033 void nmea_GPVTG2info(nmeaGPVTG *pack, nmeaINFO *info);
00034 
00035 #ifdef  __cplusplus
00036 }
00037 #endif
00038 
00039 #endif /* __NMEA_PARSE_H__ */