GPSlibrary was design to organize the NMEA format gather from GPS Module(SIM33EAU) by Serial Communication. More...
#include "inc/GPS.h"
Functions | |
| void | print_NMEA_GNRMC (const NMEA_GNRMC *data) |
| Print GNRMC structure. More... | |
| char * | token (char *str, char *delimiter) |
| Tokenize a string by a delimiter. More... | |
| void | print_UTC_TIME (const UTC_TIME *time) |
| Print the UTC_TIME Object. More... | |
| NMEA_GNRMC | setGnrmc (char *str) |
| Parse string into NMEA_GNRMC object. More... | |
| UTC_TIME | setTime (char *utcTime) |
| Set UTC time in UTC_TIME object. More... | |
| COORDINATE | setCoordinates (const NMEA_GNRMC *data) |
| Set Coordinate in COORDINATE object. More... | |
| void | print_COORDINATE (const COORDINATE *tempCoor) |
| Print coordinates members. More... | |
| double | latitudeDegrees (char *latitude, char *direction) |
| Convert latitude decimal value to degrees. More... | |
| double | longitudeDegrees (char *longitude, char *direction) |
| Convert longitude decimal value to degrees. More... | |
| double | str_to_double (char *num) |
| Convert string to floating point. More... | |
GPSlibrary was design to organize the NMEA format gather from GPS Module(SIM33EAU) by Serial Communication.
| double latitudeDegrees | ( | char * | latitude, |
| char * | direction | ||
| ) |
Convert latitude decimal value to degrees.
Detailed description starts here
| latitude | NMEA_GNRMC latitude |
| direction | NMEA_GNRMC latitude direction |
| double longitudeDegrees | ( | char * | longitude, |
| char * | direction | ||
| ) |
Convert longitude decimal value to degrees.
Detailed description starts here
| latitude | NMEA_GNRMC longitude |
| direction | NMEA_GNRMC longitude direction |
| void print_COORDINATE | ( | const COORDINATE * | tempCoordinate | ) |
Print coordinates members.
Detailed description starts here
| data | COORDINATE refrence |
| void print_NMEA_GNRMC | ( | const NMEA_GNRMC * | data | ) |
Print GNRMC structure.
Detailed description starts here
| data | constant NMEA_GNRMC pointer |
| void print_UTC_TIME | ( | const UTC_TIME * | time | ) |
| COORDINATE setCoordinates | ( | const NMEA_GNRMC * | data | ) |
Set Coordinate in COORDINATE object.
Detailed description starts here
| data | NMEA_GNRMC refrence |
| NMEA_GNRMC setGnrmc | ( | char * | str | ) |
Parse string into NMEA_GNRMC object.
Detailed description starts here
| str | GPS string |
| UTC_TIME setTime | ( | char * | utcTime | ) |
Set UTC time in UTC_TIME object.
Detailed description starts here
| str | NMEA_GNRMC utc time string |
| double str_to_double | ( | char * | num | ) |
Convert string to floating point.
Detailed description starts here
| num | string |
| char * token | ( | char * | str, |
| char * | delimiter | ||
| ) |
Tokenize a string by a delimiter.
Detailed description starts here
| str | string |
| delimiter | custom delimiter |