25 #ifndef __SIMPLE_NMEA_PARSER__
26 #define __SIMPLE_NMEA_PARSER__
28 #if defined(__cplusplus)
33 #include "simpletools.h"
44 #define GPS_INBUFF_SIZE 128 //needs to be big enough to hold an entire NMEA sentence and a few estra bytes
49 typedef unsigned char gps_byte_t;
78 int gps_open(
int gpsSin,
int gpsSout,
int gps_baud);
206 #if defined(__cplusplus)
int gps_changeBaud(int newBaudRate)
Changes the baud rate of the UART without requiring you to respecify communication pins...
Definition: gps_changeBaud.c:6
float gps_velocity(int units_type)
Provides the caller with the current compass degree heading the GPS module is travelling in...
Definition: gps_velocity.c:7
int gps_rawDate()
Runs the RFID card reading process in another cog.
Definition: gps_rawDate.c:5
int gps_open(int gpsSin, int gpsSout, int gps_baud)
Starts the GPS NMEA parser process. This process ultimately consumes two cogs - one cog to continuous...
Definition: gps_open.c:12
float gps_longitude()
Provides the caller with the current longitude in decimal degrees.
Definition: gps_longitude.c:5
float gps_altitude()
Provides the caller with the altitude above sea-level of the GPS module, in meters.
Definition: gps_altitude.c:6
float gps_heading()
Provides the caller with the current compass degree heading the GPS module is travelling in...
Definition: gps_heading.c:6
float gps_magneticVariation()
Runs the RFID card reading process in another cog.
Definition: gps_magneticVariation.c:5
int gps_fix()
Provides the caller with information about the quality of the current GPS fix. Possible values are: 0...
Definition: gps_fix.c:5
int gps_rawTime()
Runs the RFID card reading process in another cog.
Definition: gps_rawTime.c:5
float gps_latitude()
Provides the caller with the current latitude in decimal degrees.
Definition: gps_latitude.c:6
void gps_close()
Stops the GPS parser process and communication UART. Calling this effectively frees two cogs...
Definition: gps_close.c:8
int gps_fixValid()
Provides the caller with a way to determine if the GPS module has a valid lock.
Definition: gps_fixValid.c:6
int gps_satsTracked()
Provides the caller with the number of GPS satellites the module is currently tracking.
Definition: gps_satsTracked.c:6