aboutsummaryrefslogtreecommitdiff
path: root/gps/etc/gps.conf
diff options
context:
space:
mode:
Diffstat (limited to 'gps/etc/gps.conf')
-rw-r--r--gps/etc/gps.conf23
1 files changed, 20 insertions, 3 deletions
diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf
index 1027d76..e6861d8 100644
--- a/gps/etc/gps.conf
+++ b/gps/etc/gps.conf
@@ -4,6 +4,19 @@
#XTRA_SERVER_2=http://xtrapath2.izatcloud.net/xtra2.bin
#XTRA_SERVER_3=http://xtrapath3.izatcloud.net/xtra2.bin
+#ifdef VENDOR_EDIT
+# zuoyonghua@oneplus.cn add gps xtra server for speed up gps cold start
+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
+
+#ifdef VENDOR_EDIT
+# songhao@oneplus.cn,XTRA download config for debug
+XTRA_TEST_ENABLED = 1
+XTRA_THROTTLE_ENABLED = 0
+#endif
+
#Version check for XTRA
#DISABLE = 0
#AUTO = 1
@@ -38,7 +51,7 @@ INTERMEDIATE_POS=0
#GPS_LOCK = 0
# supl version 1.0
-SUPL_VER=0x10000
+SUPL_VER=0x20000
# Emergency SUPL, 1=enable, 0=disable
#SUPL_ES=0
@@ -66,7 +79,7 @@ CAPABILITIES=0x37
# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
-# ACCURACY_THRES=5000
+ACCURACY_THRES=100
################################
##### AGPS server settings #####
@@ -111,7 +124,11 @@ SGLTE_TARGET=0
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
-A_GLONASS_POS_PROTOCOL_SELECT = 0
+#ifndef zuoyonghua@oneplus.cn enable all bit mask for GLONASS
+#A_GLONASS_POS_PROTOCOL_SELECT = 0
+#else
+A_GLONASS_POS_PROTOCOL_SELECT = 15
+#endif
##################################################
# Select technology for LPPe Control Plane