GpsLocationExtended: Add heading rate support
Add heading rate for DRE engines to report heading rate
Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68
CRs-fixed: 2297348
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h
index 77d09de..9cc835e 100644
--- a/utils/gps_extended_c.h
+++ b/utils/gps_extended_c.h
@@ -363,7 +363,8 @@
#define GPS_LOCATION_EXTENDED_HAS_LEAP_SECONDS 0x80000000
/** GpsLocationExtended has time uncertainty **/
#define GPS_LOCATION_EXTENDED_HAS_TIME_UNC 0x100000000
-
+/** GpsLocationExtended has heading rate **/
+#define GPS_LOCATION_EXTENDED_HAS_HEADING_RATE 0x200000000
typedef uint32_t LocNavSolutionMask;
/* Bitmask to specify whether SBAS ionospheric correction is used */
@@ -717,6 +718,10 @@
uint8_t leapSeconds;
/** Time uncertainty in milliseconds */
float timeUncMs;
+ /** Heading Rate is in NED frame.
+ Range: 0 to 359.999. 946
+ Unit: Degrees per Seconds */
+ float headingRateDeg;
} GpsLocationExtended;
enum loc_sess_status {