<< Previous | Next >> | |
|
int gps_get_utc( struct tm * newtime, char * sentence );
Description
- Parses an RMC sentence to extract time data.
Parameters
- newtime
tm
structure to fill with new UTC time.
- sentence
- A string containing a line of GPS data in NMEA-0183 format (RMC sentence).
Return value
0
: Success.
-1
: Parsing error.
-2
: Sentence marked invalid.Library
- GPS.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |