summaryrefslogtreecommitdiff
path: root/utils/gps_extended_c.h
diff options
context:
space:
mode:
authorYingjie Wang <yingjiewang@codeaurora.org>2018-01-10 13:58:17 +0800
committerYingjie Wang <yingjiewang@codeaurora.org>2018-02-14 13:33:57 +0800
commitaf34b8d1ac48db485f78d832b4d263473d18dde9 (patch)
tree4b7414a9693e31434daa192f612bdf4ee0cdcee3 /utils/gps_extended_c.h
parentbb529c50e9a91f0bdb73d4a8a36e55155002a73e (diff)
downloadgps-af34b8d1ac48db485f78d832b4d263473d18dde9.tar.gz
Enhance LocationAPI structs to hold full position
Match the output of izat_remote_api clients with LocationAPI clients. Fill GnssLocationInfoNotification with missing fields from GpsLocationExtended and Location structure. And allow one single callback to report complete position info. Meanwhile, remove fields from UlpLocation that are no longer used. CRs-fixed: 2169738 Change-Id: Ib5bd3dd9c065c4b3d6cad32b23167546ad950d06
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r--utils/gps_extended_c.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h
index e29b2a8..bd528d9 100644
--- a/utils/gps_extended_c.h
+++ b/utils/gps_extended_c.h
@@ -127,13 +127,6 @@ typedef struct {
/* Provider indicator for HYBRID or GPS */
uint16_t position_source;
LocPosTechMask tech_mask;
- /*allows HAL to pass additional information related to the location */
- int rawDataSize; /* in # of bytes */
- void * rawData;
- bool is_indoor;
- float floor_number;
- char map_url[GPS_LOCATION_MAP_URL_SIZE];
- unsigned char map_index[GPS_LOCATION_MAP_INDEX_SIZE];
} UlpLocation;
typedef struct {
@@ -728,25 +721,6 @@ enum ulp_gnss_sv_poly_valid_flags{
#define ULP_GNSS_SV_POLY_BIT_VELO_COEFF (1<<ULP_GNSS_SV_POLY_VELO_COEFF)
#define ULP_GNSS_SV_POLY_BIT_ENHANCED_IOD (1<<ULP_GNSS_SV_POLY_ENHANCED_IOD)
-
-typedef enum
-{
- GNSS_LOC_SV_SYSTEM_GPS = 1,
- /**< GPS satellite. */
- GNSS_LOC_SV_SYSTEM_GALILEO = 2,
- /**< GALILEO satellite. */
- GNSS_LOC_SV_SYSTEM_SBAS = 3,
- /**< SBAS satellite. */
- GNSS_LOC_SV_SYSTEM_COMPASS = 4,
- /**< COMPASS satellite. */
- GNSS_LOC_SV_SYSTEM_GLONASS = 5,
- /**< GLONASS satellite. */
- GNSS_LOC_SV_SYSTEM_BDS = 6,
- /**< BDS satellite. */
- GNSS_LOC_SV_SYSTEM_QZSS = 7
- /**< QZSS satellite. */
-} Gnss_LocSvSystemEnumType;
-
typedef enum
{
GNSS_LOC_FREQ_SOURCE_INVALID = 0,