summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2014-12-27 02:21:20 +0200
committerSeth Shelnutt <shelnutt2@gmail.com>2015-02-06 03:19:09 +0000
commit5d77c39fdc6ec501a390ff3b8f4d17d96c9d5d0b (patch)
tree0595479c6249f7ba97d88510ad93a1820ea89656
parent6496111476c0fdf34e3b9e214d0757ef7aa03501 (diff)
vs980: Add device specific gps.conf
Change-Id: I30c2ca09c828c566f50d4081d3b0d578061f7040
-rw-r--r--configs/gps.conf104
-rw-r--r--device.mk4
2 files changed, 108 insertions, 0 deletions
diff --git a/configs/gps.conf b/configs/gps.conf
new file mode 100644
index 0000000..aca8078
--- /dev/null
+++ b/configs/gps.conf
@@ -0,0 +1,104 @@
+#Uncommenting these urls would only enable
+#the power up auto injection and force injection(test case).
+XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
+XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
+XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
+
+# Error Estimate
+# _SET = 1
+# _CLEAR = 0
+ERR_ESTIMATE=0
+
+#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
+#Korea
+# NTP_SERVER=0.kr.pool.ntp.org
+#JP
+# NTP_SERVER=3.jp.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 = 5
+
+# Intermediate position report, 1=enable, 0=disable
+INTERMEDIATE_POS=0
+
+# supl version 1.0
+#SUPL_VER=0x10000
+# supl version 2.0
+SUPL_VER=0x20000
+
+# GPS Capabilities bit mask
+# SCHEDULING = 0x01
+# MSB = 0x02
+# MSA = 0x04
+# ON_DEMAND_TIME = 0x10
+# GEOFENCE = 0x20
+# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
+CAPABILITIES=0x31
+
+# 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.host.com or IP
+# SUPL_PORT=1234
+SUPL_HOST=e-slp.lte.911.nj.myvzw.com
+SUPL_PORT=7275
+
+# FOR C2K PDE SUPPORT, set the following
+# C2K_HOST=c2k.pde.com or IP
+# C2K_PORT=1234
+
+
+####################################
+# LTE Positioning Profile Settings
+####################################
+# 0: Enable RRLP on LTE(Default)
+# 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
+
+################################
+# EXTRA SETTINGS
+################################
+# Enable or Disable Wiper (1=Enable, 0=Disable)
+#ENABLE_WIPER=1
+ENABLE_WIPER=1
+# NMEA provider (1=Modem Processor, 0=Application Processor)
+#NMEA_PROVIDER=0
+NMEA_PROVIDER=1
+
+##################################################
+# Select Positioning Protocol on A-GLONASS system
+##################################################
+# 0x1: RRC CPlane
+# 0x2: RRLP UPlane
+# 0x4: LLP Uplane
+A_GLONASS_POS_PROTOCOL_SELECT = 0
+
+################################
+# LGE EXTRA SETTINGS
+################################
+VENDOR=VZW
+LGE_TLS_MODE=1
+LGE_GPS_POSITION_MODE=0
+
+################################
+# Emergency SUPL SETTINGS
+################################
+# Emergency SUPL, 1=enable, 0=disable
+SUPL_ES=1
diff --git a/device.mk b/device.mk
index 4c8362d..435dacd 100644
--- a/device.mk
+++ b/device.mk
@@ -38,3 +38,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
nfc_nci.bcm2079x.default \
NfcNci
+
+# GPS
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf