From 6060fb7c6b8e1c1f4a64d90b3b0885959ca3af84 Mon Sep 17 00:00:00 2001 From: Kevin Tang Date: Fri, 12 Feb 2016 18:48:59 -0800 Subject: [PATCH] Additional Position Prameters in position report Updated gps_extended_c.h to include few additional position parameters Change-Id: I3c8b8ba97c5b2eafa7337d580681044b973c5bea CRs-Fixed: 974961 --- core/gps_extended_c.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/core/gps_extended_c.h b/core/gps_extended_c.h index 75ee17e3..9b73fd59 100644 --- a/core/gps_extended_c.h +++ b/core/gps_extended_c.h @@ -217,6 +217,12 @@ typedef uint16_t GpsLocationExtendedFlags; #define GPS_LOCATION_EXTENDED_HAS_HOR_RELIABILITY 0x0080 /** GpsLocationExtended has valid vertical reliability */ #define GPS_LOCATION_EXTENDED_HAS_VERT_RELIABILITY 0x0100 +/** GpsLocationExtended has valid Horizontal Elliptical Uncertainty (Semi-Major Axis) */ +#define GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_MAJOR 0x0200 +/** GpsLocationExtended has valid Horizontal Elliptical Uncertainty (Semi-Minor Axis) */ +#define GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_MINOR 0x0400 +/** GpsLocationExtended has valid Elliptical Horizontal Uncertainty Azimuth */ +#define GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_AZIMUTH 0x0800 typedef enum { LOC_RELIABILITY_NOT_SET = 0, @@ -252,6 +258,12 @@ typedef struct { LocReliability horizontal_reliability; /** vertical reliability. */ LocReliability vertical_reliability; + /* Horizontal Elliptical Uncertainty (Semi-Major Axis) */ + float horUncEllipseSemiMajor; + /* Horizontal Elliptical Uncertainty (Semi-Minor Axis) */ + float horUncEllipseSemiMinor; + /* Elliptical Horizontal Uncertainty Azimuth */ + float horUncEllipseOrientAzimuth; } GpsLocationExtended; /** Represents SV status. */