aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFedor917 <cryscript@gmail.com>2016-11-10 16:04:03 +0700
committerFedor917 <cryscript@gmail.com>2016-11-10 16:04:03 +0700
commitac0389d58c137d884cd07990f57db6bfdaf10a4e (patch)
tree8d1b0078a1bf213ddc2ec33de1eeffbbfa18667f
parentd4dbddbeaacf02c77d61d1b2e93304bc90502e02 (diff)
Small edits in GPS conf
-rw-r--r--gps/etc/gps.conf21
-rw-r--r--gps/etc/izat.conf6
2 files changed, 21 insertions, 6 deletions
diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf
index c74e826..0cf98b3 100644
--- a/gps/etc/gps.conf
+++ b/gps/etc/gps.conf
@@ -4,6 +4,11 @@
#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin
#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin
+#ifdef VENDOR_EDIT
+XTRA_SERVER_1=http://xtrapath1.izatcloud.net/xtra3grc.bin
+XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra3grc.bin
+XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra3grc.bin
+#endif
#Version check for XTRA
#DISABLE = 0
#AUTO = 1
@@ -16,13 +21,19 @@ XTRA_VERSION_CHECK=0
# _CLEAR = 0
ERR_ESTIMATE=0
-#NTP server
-NTP_SERVER=time.izatcloud.net
+#Test
+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
# If DEBUG_LEVEL is commented, Android's logging levels will be used
-DEBUG_LEVEL = 3
+DEBUG_LEVEL = 2
# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0
@@ -43,7 +54,7 @@ SUPL_ES=0
#Choose PDN for Emergency SUPL
#1 - Use emergency PDN
#0 - Use regular SUPL PDN for Emergency SUPL
-USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
+USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
#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
@@ -108,7 +119,7 @@ SGLTE_TARGET=0
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
-A_GLONASS_POS_PROTOCOL_SELECT = 0
+A_GLONASS_POS_PROTOCOL_SELECT = 15
##################################################
# Select technology for LPPe Control Plane
diff --git a/gps/etc/izat.conf b/gps/etc/izat.conf
index d9fc913..02b6efb 100644
--- a/gps/etc/izat.conf
+++ b/gps/etc/izat.conf
@@ -12,7 +12,7 @@ WIFI_WAIT_TIMEOUT_SELECT = 0
################################
# NLP Settings
################################
-# NLP_MODE 1: GNP Only, 2: QNP Only, 3: Combo
+# NLP_MODE 1: OSNLP Only, 2: QNP Only, 3: Combo, 4: QNP preferred
# NLP_TOLERANCE_TIME_FIRST: Time in ms used in Combo mode
# to determine how much Tolerance for first position
# NLP_TOLERANCE_TIME_AFTER: Time in ms used in Combo mode
@@ -27,12 +27,16 @@ WIFI_WAIT_TIMEOUT_SELECT = 0
# QNP when the EULA is not consented to by the user. QNP can
# still return ZPP locations or injected locations even
# without EULA consent, but the uncertainty can be high.
+# QNP preferred mode prefers QNP when there is EULA consent,
+# otherwise OSNLP is used.
NLP_MODE = 1
NLP_TOLERANCE_TIME_FIRST = 5000
NLP_TOLERANCE_TIME_AFTER = 20000
NLP_THRESHOLD = 3
NLP_ACCURACY_MULTIPLE = 2
NLP_COMBO_MODE_USES_QNP_WITH_NO_EULA_CONSENT = 1
+OSNLP_PACKAGE = com.google.android.gms
+OSNLP_ACTION = com.android.location.service.v3.NetworkLocationProvider
# Threshold period for ZPP triggers
ZPP_TRIGGER_THRESHOLD=60000