Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SerialGPS_TestProgram Nucleo_SerialGPS_to_PC Nucleo_SerialGPS_to_PC SensorInterface ... more
SerialGPS Class Reference
Serial GPS module interface driver class (Version 0.0.1) This interface driver supports NMEA-0183 serial based modules. More...
#include <SerialGPS.h>
Data Structures | |
| struct | gps_callback_t |
| Callback function structure. More... | |
| struct | gps_gga_t |
| GGA - Global Positioning System Fixed Data. More... | |
| struct | gps_gsa_t |
| GSA hGNSS DOP and Active Satellites. More... | |
| struct | gps_gsv_satellite_t |
| for GSV: The number of GPS satellites in view satellite ID numbers, elevation, azimuth, and SNR values. More... | |
| struct | gps_gsv_t |
| for GSV: The number of GPS satellites in view satellite ID numbers, elevation, azimuth, and SNR values. More... | |
| struct | gps_rmc_t |
| for RMC: Time, date, position, course and speed data. More... | |
Public Member Functions | |
| SerialGPS (PinName tx, PinName rx, int baud=9600) | |
| Create. | |
| ~SerialGPS () | |
| Destroy. | |
| bool | processing () |
| Processing. | |
| void | attach (gps_callback_t *cbfuncs) |
| Attach a callback function. | |
| void | detach (void) |
| Detach a callback function. | |
Detailed Description
Serial GPS module interface driver class (Version 0.0.1) This interface driver supports NMEA-0183 serial based modules.
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/ Serial GPS module interface driver class (Version 0.0.1) This interface driver supports NMEA-0183 serial based modules.
= A list of NMEA-0183 Based GPS modules = GT-720F : http://akizukidenshi.com/catalog/g/gM-02711/
= References = NMEA Reference Manual (January 2005) - SiRF Technology, Inc.
Definition at line 21 of file SerialGPS.h.
Constructor & Destructor Documentation
| SerialGPS | ( | PinName | tx, |
| PinName | rx, | ||
| int | baud = 9600 |
||
| ) |
Create.
Serial GPS module interface driver class (Version 0.0.1) This interface driver supports NMEA-0183 serial based modules.
- Parameters:
-
tx A pin of transmit. rx A pin of receive. baud Baud rate. (Default = 9600)
Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) http://shinta.main.jp/ Create.
- Parameters:
-
tx A pin of transmit. rx A pin of receive. baud Baud rate. (Default = 9600)
Definition at line 17 of file SerialGPS.cpp.
| ~SerialGPS | ( | ) |
Destroy.
Definition at line 25 of file SerialGPS.cpp.
Member Function Documentation
| void attach | ( | gps_callback_t * | cbfuncs ) |
Attach a callback function.
- Parameters:
-
cbfuncs A pointer to a call back function structure. cbfuncs A pointer to a callback function structure.
Definition at line 115 of file SerialGPS.cpp.
| void detach | ( | void | ) |
Detach a callback function.
Definition at line 122 of file SerialGPS.cpp.
| bool processing | ( | ) |
Processing.
Definition at line 31 of file SerialGPS.cpp.
Generated on Thu Jul 14 2022 00:05:48 by
1.7.2
Grove GPS