summaryrefslogtreecommitdiff
path: root/utils/loc_gps.h
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2017-04-04 15:38:19 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-04-27 22:25:31 -0700
commit9c212abde185516543afa9b77329d6b8cba0cad0 (patch)
treee33c84386e49e0aff72be72c24eeee8b1b5f9938 /utils/loc_gps.h
parent6cf01fac929e99f91df947d1791df7790ac956c1 (diff)
downloadgps-9c212abde185516543afa9b77329d6b8cba0cad0.tar.gz
Add vertical uncertainity field
Add vertical uncertainity field to LocGpsLocation and report whenever possible. CRs-Fixed: 2028902 Change-Id: I2610b0eaf527b516e7a1cac958b82795f535cc06
Diffstat (limited to 'utils/loc_gps.h')
-rw-r--r--utils/loc_gps.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/loc_gps.h b/utils/loc_gps.h
index 2e495b8..e3f2182 100644
--- a/utils/loc_gps.h
+++ b/utils/loc_gps.h
@@ -98,6 +98,8 @@ typedef uint16_t LocGpsLocationFlags;
#define LOC_GPS_LOCATION_HAS_BEARING 0x0008
/** LocGpsLocation has valid accuracy. */
#define LOC_GPS_LOCATION_HAS_ACCURACY 0x0010
+/** LocGpsLocation has valid vertical uncertainity */
+#define LOC_GPS_LOCATION_HAS_VERT_UNCERTAINITY 0x0020
/** Flags for the loc_gps_set_capabilities callback. */
@@ -545,6 +547,8 @@ typedef struct {
float bearing;
/** Represents expected accuracy in meters. */
float accuracy;
+ /** Represents the expected vertical uncertainity in meters*/
+ float vertUncertainity;
/** Timestamp for the location fix. */
LocGpsUtcTime timestamp;
} LocGpsLocation;