diff options
| author | Carlos Solano <csolano@gmail.com> | 2018-09-09 20:12:44 +0200 |
|---|---|---|
| committer | Carlos Solano <csolano@gmail.com> | 2018-09-09 20:17:37 +0200 |
| commit | 27c8644fa23883f9a9982ae2a32d5c12c5d7ac06 (patch) | |
| tree | 1c4d1f0e51e67dbfa6d7d7ba4bb90f142a14d837 | |
| parent | 1c9708d4a4815ef28288ae823563624e5e421143 (diff) | |
libra: tweak gps configs
Change-Id: I2104848d701450c0b677c15a1686a4f459f23e44
| -rw-r--r-- | configs/gps/flp.conf | 4 | ||||
| -rw-r--r-- | configs/gps/gps.conf | 162 |
2 files changed, 24 insertions, 142 deletions
diff --git a/configs/gps/flp.conf b/configs/gps/flp.conf index 7d6002ff..97037fe4 100644 --- a/configs/gps/flp.conf +++ b/configs/gps/flp.conf @@ -42,7 +42,7 @@ CAPABILITIES=0x03 # Low accuracy = 0 # Medium accuracy = 1 # High accuracy = 2 -ACCURACY=0 +ACCURACY=2 ################################### # FLP GEOFENCE RESPONSIVENESS @@ -57,4 +57,4 @@ ACCURACY=0 # 1: LOW responsiveness # 2: MEDIUM responsiveness # 3: HIGH responsiveness -FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE = 0 +FLP_GEOFENCE_RESPONSIVENESS_OVERRIDE = 3 diff --git a/configs/gps/gps.conf b/configs/gps/gps.conf index a6225cc4..6b85137c 100644 --- a/configs/gps/gps.conf +++ b/configs/gps/gps.conf @@ -1,13 +1,8 @@ #Uncommenting these urls would only enable #the power up auto injection and force injection(test case). -XTRA_SERVER_1=https://xtrapath1.izatcloud.net/xtra3grc.bin -XTRA_SERVER_2=https://xtrapath2.izatcloud.net/xtra3grc.bin -XTRA_SERVER_3=https://xtrapath3.izatcloud.net/xtra3grc.bin -XTRA_SERVER_4=https://ssl.gpsonextra.net/xtra3grc.bin -XTRA_SERVER_5=https://ssl.izatcloud.net/xtra3grc.bin - -#Test for XTRA -XTRA_TEST_ENABLED = 1 +#XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra2.bin +#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin +#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin #Version check for XTRA #DISABLE = 0 @@ -22,14 +17,13 @@ XTRA_VERSION_CHECK=1 ERR_ESTIMATE=0 #NTP server -NTP_SERVER=pool.ntp.org -NTP_SERVER_1=0.pool.ntp.org -NTP_SERVER_2=1.pool.ntp.org -NTP_SERVER_3=2.pool.ntp.org -NTP_SERVER_4=3.pool.ntp.org - -#XTRA CA path -XTRA_CA_PATH=/system/etc/security/cacerts +NTP_SERVER=time.gpsonextra.net +#Asia +# NTP_SERVER=asia.pool.ntp.org +#Europe +# NTP_SERVER=europe.pool.ntp.org +#North America +# NTP_SERVER=north-america.pool.ntp.org # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info # 4 - Debug, 5 - Verbose @@ -39,10 +33,6 @@ DEBUG_LEVEL = 1 # Intermediate position report, 1=enable, 0=disable INTERMEDIATE_POS=1 -# Accuracy threshold for intermediate positions -# less accurate positions are ignored, 0 for passing all positions -ACCURACY_THRES=50 - # Below bit mask configures how GPS functionalities # should be locked when user turns off GPS on Settings # Set bit 0x1 if MO GPS functionalities are to be locked @@ -50,11 +40,8 @@ ACCURACY_THRES=50 # default - non is locked for backward compatibility #GPS_LOCK = 0 -# supl version 3.0 -SUPL_VER=0x30000 - -# Report supl ref location as position, 1=enabled, 0=disabled -REPORT_POSITION_USE_SUPL_REFLOC=1 +# supl version 2.0 +SUPL_VER=0x20000 # Emergency SUPL, 1=enable, 0=disable SUPL_ES=1 @@ -62,14 +49,14 @@ SUPL_ES=1 #Choose PDN for Emergency SUPL #1 - Use emergency PDN #0 - Use regular SUPL PDN for Emergency SUPL -USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1 +USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0 #SUPL_MODE is a bit mask set in config.xml per carrier by default. #If it is uncommented here, this value will overwrite the value from #config.xml. #MSA=0X2 #MSB=0X1 -SUPL_MODE=0X2 +SUPL_MODE=3 # GPS Capabilities bit mask # SCHEDULING = 0x01 @@ -78,26 +65,19 @@ SUPL_MODE=0X2 # ON_DEMAND_TIME = 0x10 # GEOFENCE = 0x20 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE -CAPABILITIES=0x35 +CAPABILITIES=0x37 -#################################### -# Indoor Positioning Settings -#################################### -# 0: QUIPC disabled, 1: QUIPC enabled, 2: forced QUIPC only -QUIPC_ENABLED = 1 - -# Wiper (wifi positioning), 1=enabled, 0=disabled -ENABLE_WIPER=1 +# Accuracy threshold for intermediate positions +# less accurate positions are ignored, 0 for passing all positions +# ACCURACY_THRES=5000 ################################ ##### AGPS server settings ##### ################################ # FOR SUPL SUPPORT, set the following -SUPL_HOST=supl.google.com -SUPL_PORT=7276 -SUPL_SECURE_PORT=7275 -# SUPL_NO_SECURE_PORT=3425 +SUPL_HOST=supl.qxwz.com +SUPL_PORT=7275 # FOR C2K PDE SUPPORT, set the following # C2K_HOST=c2k.pde.com or IP @@ -118,7 +98,7 @@ SUPL_SECURE_PORT=7275 # 1: Enable LPP_User_Plane on LTE # 2: Enable LPP_Control_Plane # 3: Enable both LPP_User_Plane and LPP_Control_Plane -LPP_PROFILE = 3 +LPP_PROFILE =0 ################################ # EXTRA SETTINGS @@ -134,102 +114,4 @@ SGLTE_TARGET=1 # 0x1: RRC CPlane # 0x2: RRLP UPlane # 0x4: LLP Uplane -A_GLONASS_POS_PROTOCOL_SELECT = 0x4 - -################################################## -# Select technology for LPPe Control Plane -################################################## -# 0x1: DBH for LPPe CP -# 0x2: WLAN AP Measurements for LPPe CP -# 0x4: SRN AP measurement for CP -# 0x8: Sensor Barometer Measurement LPPe CP -LPPE_CP_TECHNOLOGY = 0x2 - -################################################## -# Select technology for LPPe User Plane -################################################## -# 0x1: DBH for LPPe UP -# 0x2: WLAN AP Measurements for LPPe UP -# 0x4: SRN AP measurement for UP -# 0x8: Sensor Barometer Measurement LPPe UP -LPPE_UP_TECHNOLOGY = 0x2 - -################################################## -# AGPS_CONFIG_INJECT -################################################## -# enable/disable injection of AGPS configurations: -# SUPL_VER -# SUPL_HOST -# SUPL_PORT -# SUPL_MODE -# SUPL_ES -# C2K_HOST -# C2K_PORT -# LPP_PROFILE -# A_GLONASS_POS_PROTOCOL_SELECT -# USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL -# GPS_LOCK -# 0: disable -# 1: enable -AGPS_CONFIG_INJECT = 1 - -################################################## -# GNSS settings for automotive use cases -# Configurations in following section are -# specific to automotive use cases, others -# please do not change, keep the default values -################################################## - -################################################## -# AP Coarse Timestamp Uncertainty -################################################## -# default : 10 -# AP time stamp uncertainty, until GNSS receiver -# is able to acquire better timing information -AP_TIMESTAMP_UNCERTAINTY = 10 - -################################################## -# QDR engine availability status -################################################## -# 0 : NO QDR (default) -# 1 : QDR enabled -# This settings enables QDR Configuration for -# automotive use case, if enabled then -# DR_AP_Service needs to be enabled in izat.conf -#EXTERNAL_DR_ENABLED = 0 - -##################################### -# DR_SYNC Pulse Availability -##################################### -# 0 : DR_SYNC pulse not available (default) -# 1 : DR_SYNC pulse available -# This configuration enables the driver to make use -# of PPS events generated by DR_SYNC pulse -# Standard Linux PPS driver needs to be enabled -DR_SYNC_ENABLED = 0 - -##################################### -# PPS Device name -##################################### -PPS_DEVICENAME = /dev/pps0 - -##################################### -# AP Clock Accuracy -##################################### -# Quality of APPS processor clock (in PPM). -# Value specified is used for calculation of -# APPS time stamp uncertainty -AP_CLOCK_PPM = 100 - -##################################### -# MAX ms difference to detect missing pulse -##################################### -# Specifies time threshold in ms to validate any missing PPS pulses -MISSING_PULSE_TIME_DELTA = 900 - -##################################### -# Propagation time uncertainty -##################################### -# This settings enables time uncertainty propagation -# logic incase of missing PPS pulse -PROPAGATION_TIME_UNCERTAINTY = 1 +A_GLONASS_POS_PROTOCOL_SELECT = 0 |
