diff options
author | Wei (GPS SD) Chen <weic@codeaurora.org> | 2020-10-07 10:08:25 -0700 |
---|---|---|
committer | Wei (GPS SD) Chen <weic@codeaurora.org> | 2020-10-07 10:08:35 -0700 |
commit | fdfdf624e63e0e166a4ffa4631936633b50119a8 (patch) | |
tree | ed3508151b536bac69a067bdeea61de437ef173c /utils | |
parent | 005a322b96f1bf1df4b71cf9a3d4319b538daf73 (diff) |
SPE PVT report: include altitude assumed info
Include altitude assumed/calculated info in SPE PVT report
Change-Id: I8bbece9369f5f0a4a5fdf629dff511f326eb4043
CRs-fixed: 2792291
Diffstat (limited to 'utils')
-rw-r--r-- | utils/gps_extended_c.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index febbd7b..b6b1213 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -411,8 +411,12 @@ typedef uint64_t GpsLocationExtendedFlags; #define GPS_LOCATION_EXTENDED_HAS_LLA_VRP_BASED 0x200000000000 /** GpsLocationExtended has the velocityVRPased. */ #define GPS_LOCATION_EXTENDED_HAS_ENU_VELOCITY_LLA_VRP_BASED 0x400000000000 +/** GpsLocationExtended has upperTriangleFullCovMatrix. */ #define GPS_LOCATION_EXTENDED_HAS_UPPER_TRIANGLE_FULL_COV_MATRIX 0x800000000000 +/** GpsLocationExtended has drSolutionStatusMask. */ #define GPS_LOCATION_EXTENDED_HAS_DR_SOLUTION_STATUS_MASK 0x1000000000000 +/** GpsLocationExtended has altitudeAssumed. */ +#define GPS_LOCATION_EXTENDED_HAS_ALTITUDE_ASSUMED 0x2000000000000 typedef uint32_t LocNavSolutionMask; /* Bitmask to specify whether SBAS ionospheric correction is used */ @@ -856,6 +860,12 @@ typedef struct { */ float upperTriangleFullCovMatrix[COV_MATRIX_SIZE]; DrSolutionStatusMask drSolutionStatusMask; + /** When this field is valid, it will indicates whether altitude + * is assumed or calculated. + * false: Altitude is calculated. + * true: Altitude is assumed; there may not be enough + * satellites to determine the precise altitude. */ + bool altitudeAssumed; } GpsLocationExtended; enum loc_sess_status { |