Update gps.conf for SUPL
Support SUPL version 2.0.
Use Google SUPL Server.
Enable both LPP_User_Plane and LPP_Control_Plane
Issue: FP3-A11#233
Change-Id: I0d2e86bfd6943bde7c97051191a1f59bdb721401
diff --git a/etc/gps.conf b/etc/gps.conf
index 75f12f2..487a0fe 100644
--- a/etc/gps.conf
+++ b/etc/gps.conf
@@ -18,22 +18,22 @@
INTERMEDIATE_POS=0
# supl version 1.0
-SUPL_VER=0x10000
+SUPL_VER=0x20000
# Emergency SUPL, 1=enable, 0=disable
-#SUPL_ES=1
+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=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
#config.xml.
#MSA=0X2
#MSB=0X1
-#SUPL_MODE=
+SUPL_MODE=0x3
# GPS Capabilities bit mask
# SCHEDULING = 0x01
@@ -54,6 +54,8 @@
# FOR SUPL SUPPORT, set the following
# SUPL_HOST=supl.host.com or IP
# SUPL_PORT=1234
+SUPL_HOST=supl.google.com
+SUPL_PORT=7275
# FOR MO SUPL SUPPORT, set the following
# MO_SUPL_HOST=supl.host.com or IP
@@ -76,11 +78,10 @@
####################################
# LPP_PROFILE is a bit mask
# 0: Enable RRLP on LTE(Default)
-# 0x1: LPP User Plane
-# 0x2: LPP Control Plane
-# 0x4: LPP User Plane for NR5G
-# 0x8: LPP Control Plane for NR5G
-LPP_PROFILE = 2
+# 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
####################################
#Datum Type
@@ -146,7 +147,7 @@
# 0x1: RRC CPlane
# 0x2: RRLP UPlane
# 0x4: LLP Uplane
-A_GLONASS_POS_PROTOCOL_SELECT = 0
+A_GLONASS_POS_PROTOCOL_SELECT = 0x7
##################################################
# Select technology for LPPe Control Plane