![]() |
|
| << Previous | Next >> | |
| | |
int gps_get_position( GPSPositon * newpos, char * sentence );
Description
- Parses a sentence to extract position data. This function is able to parse any of the following GPS sentence formats: GGA, GLL or RMC.
Parameters
- newpos
- A
GPSPositionstructure to fill.
- sentence
- A string containing a line of GPS data in NMEA-0183 format.
Return value
0: Success.
-1: Parsing error.
-2: Sentence marked invalid.Library
- gps.lib
| Dynamic C Functions | << Previous | Next >> | rabbit.com |