nmea gps library - without any serial
Fork of GPS by
GPS_Parser Class Reference
A GPS_parser interface for reading from a Globalsat EM-406 GPS Module. More...
#include <GPS_parser.h>
Public Member Functions | |
int | parse (char *) |
Parse the incoming GPS data, returning whether there is a lock. |
Detailed Description
A GPS_parser interface for reading from a Globalsat EM-406 GPS Module.
Definition at line 16 of file GPS_parser.h.
Member Function Documentation
int parse | ( | char * | string ) |
Parse the incoming GPS data, returning whether there is a lock.
- Parameters:
-
line the nmea string to parse, uses tokenizer vs sscanf
- Returns:
- 1 if there was a lock when the sample was taken (and therefore .longitude and .latitude are valid), else 0
Definition at line 235 of file GPS_parser.cpp.
Generated on Tue Jul 19 2022 12:48:40 by 1.7.2