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.
Diff: GPS.h
- Revision:
- 1:9a8a3f68b005
- Parent:
- 0:8f2e256775d7
- Child:
- 2:2b9befe69d07
diff -r 8f2e256775d7 -r 9a8a3f68b005 GPS.h
--- a/GPS.h Mon May 04 03:41:27 2015 +0000
+++ b/GPS.h Fri Apr 12 17:48:32 2019 +0000
@@ -48,11 +48,45 @@
/** The UTC time */
float utc;
- char msg[256];
+ //int sek, min, hour;
+
+ /**fix quality*/
+ int fix;
+
+ /**fix3D fix - values include: 1 = no fix,2 = 2D fix,3 = 3D fix */
+ int fix_3d;
+
+ /**Altitude, Meters, above mean sea level*/
+ float altitude;
+
+ /**Number of satellites being tracked*/
+ int sat_tracked;
+
+ /**dilution of precision (PDOP)*/
+ double pdop;
+
+ /**Horizontal dilution of precision (HDOP) */
+ double hdop;
+
+ /**Vertical dilution of precision (VDOP)*/
+ //float vdop;
+ //char aut;
+
+ /**speed in knots*/
+ float speed;
+
+ /**date of object*/
+ int date;
+
+ /**PRNs (IDS) of satellites used for fix (space for 12) */
+ int id1,id2,id3,id4,id5,id6,id7,id8,id9,id10,id11,id12,id13;
+
+ char msg[280];
private:
float trunc(float v);
void getline();
+ //void getline2();
Serial _gps;