summaryrefslogtreecommitdiff
path: root/utils/gps_extended_c.h
diff options
context:
space:
mode:
authorNaresh Munagala <nareshm@codeaurora.org>2017-09-21 14:24:50 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-10-04 22:57:34 -0700
commita5c7e2c53da6919499fa29d9bcd77a0b80be16e1 (patch)
tree903115d97684002f13eefa3958fc5d90f5514fd8 /utils/gps_extended_c.h
parent39526894cfaafab8b9fc6714956c4f6df0bcc329 (diff)
downloadgps-a5c7e2c53da6919499fa29d9bcd77a0b80be16e1.tar.gz
extended gdop parameters in interface files
updated interface files with extended gdop parameters. Change-Id: Ie31311125e66d26dab4f564be7120fae374b9d2c CRs-Fixed: 2062856
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r--utils/gps_extended_c.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h
index f87a942..7929a5a 100644
--- a/utils/gps_extended_c.h
+++ b/utils/gps_extended_c.h
@@ -308,6 +308,8 @@ typedef uint32_t GpsLocationExtendedFlags;
#define GPS_LOCATION_EXTENDED_HAS_POS_DYNAMICS_DATA 0x10000
/** GpsLocationExtended has GPS Time */
#define GPS_LOCATION_EXTENDED_HAS_GPS_TIME 0x20000
+/** GpsLocationExtended has Extended Dilution of Precision */
+#define GPS_LOCATION_EXTENDED_HAS_EXT_DOP 0x40000
typedef uint32_t LocNavSolutionMask;
/* Bitmask to specify whether SBAS ionospheric correction is used */
@@ -393,6 +395,29 @@ typedef struct {
float pitch;
}LocPositionDynamics;
+typedef struct {
+
+ /** Position dilution of precision.
+ Range: 1 (highest accuracy) to 50 (lowest accuracy) */
+ float PDOP;
+
+ /** Horizontal dilution of precision.
+ Range: 1 (highest accuracy) to 50 (lowest accuracy) */
+ float HDOP;
+
+ /** Vertical dilution of precision.
+ Range: 1 (highest accuracy) to 50 (lowest accuracy) */
+ float VDOP;
+
+ /** geometric dilution of precision.
+ Range: 1 (highest accuracy) to 50 (lowest accuracy) */
+ float GDOP;
+
+ /** time dilution of precision.
+ Range: 1 (highest accuracy) to 50 (lowest accuracy) */
+ float TDOP;
+}LocExtDOP;
+
/* GPS Time structure */
typedef struct {
@@ -451,6 +476,8 @@ typedef struct {
LocPositionDynamics bodyFrameData;
/** GPS Time */
GPSTimeStruct gpsTime;
+ /** Dilution of precision associated with this position*/
+ LocExtDOP extDOP;
} GpsLocationExtended;
enum loc_sess_status {