--- /dev/null
+#ifndef _GPS_DATA_H
+#define _GPS_DATA_H
+
+#include <glib.h>
+
+#define GPS_SAT_MAX (12)
+
+typedef struct _GpsSatelliteData GpsSatelliteData;
+struct _GpsSatelliteData {
+ guint prn;
+ guint elevation;
+ guint azimuth;
+ guint snr;
+ gboolean fix;
+};
+
+/** GPS Data and Satellite **/
+typedef struct _GpsData GpsData;
+struct _GpsData {
+ guint fix;
+ guint fixquality;
+ gdouble lat;
+ gdouble lon;
+ gfloat speed;
+ gfloat maxspeed;
+ gfloat avgspeed;
+ gfloat heading;
+ gfloat lheading;
+ gfloat hdop;
+ gfloat vdop;
+ gfloat pdop;
+ guint satinview;
+ guint satinuse;
+ guint satforfix[GPS_SAT_MAX];
+ GpsSatelliteData sat[GPS_SAT_MAX];
+};
+
+#endif