diff options
| author | Artem Borisov <dedsa2002@gmail.com> | 2018-06-15 15:51:12 +0300 |
|---|---|---|
| committer | Ali B <abittin@gmail.com> | 2018-06-17 19:22:34 +0300 |
| commit | 58fac8ffe3dc9c79325f1dd5a4256da923c58843 (patch) | |
| tree | 572fca28474b211859ec91d3260b55004a11019f | |
| parent | cd5c3d5dd59d936b2b33a0ac8eb82dc39876eb3f (diff) | |
flo: Restore gps.conf from stock
Somehow it got removed during 14.1 bringup...
Change-Id: I3cc9ca348a19936400fa56887ecb6ef4b28898bc
| -rw-r--r-- | configs/gps.conf | 92 | ||||
| -rw-r--r-- | device-common.mk | 3 |
2 files changed, 95 insertions, 0 deletions
diff --git a/configs/gps.conf b/configs/gps.conf new file mode 100644 index 0000000..6aa1901 --- /dev/null +++ b/configs/gps.conf @@ -0,0 +1,92 @@ +# XTRA_SERVER_QUERY (1=on, 0=off) +# If XTRA_SERVER_QUERY is on, the XTRA_SERVERs listed +# below will be ignored, and instead the servers will +# be queried from the modem. +XTRA_SERVER_QUERY=0 +# XTRA_SERVERs below are used only if XTRA_SERVER_QUERY +# is off. +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 + +# 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 = 2 + +# Intermediate position report, 1=enable, 0=disable +INTERMEDIATE_POS=0 + +# 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 +# Set bit 0x2 if NI GPS functionalities are to be locked +# default - non is locked for backward compatibility +#GPS_LOCK = 0 + +# supl version 1.0 +SUPL_VER=0x10000 + +# 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=0x37 + +# 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=supl.google.com +SUPL_PORT=7276 + +# 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 = 0 + +################################ +# EXTRA SETTINGS +################################ +# NMEA provider (1=Modem Processor, 0=Application Processor) +NMEA_PROVIDER=0 + +################################################## +# Select Positioning Protocol on A-GLONASS system +################################################## +# 0x1: RRC CPlane +# 0x2: RRLP UPlane +# 0x4: LLP Uplane +A_GLONASS_POS_PROTOCOL_SELECT = 0 diff --git a/device-common.mk b/device-common.mk index 9753ca6..7224f23 100644 --- a/device-common.mk +++ b/device-common.mk @@ -104,6 +104,9 @@ PRODUCT_PACKAGES += \ gps.conf \ gps.msm8960 +PRODUCT_COPY_FILES += \ + device/asus/flo/configs/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf + # GNSS HAL PRODUCT_PACKAGES += \ android.hardware.gnss@1.0-impl \ |
