blob: 487a0fe6fc116077e1bc37099e040b6e6dee0477 [file] [log] [blame]
Dante Russo85f672f2013-06-05 09:11:09 -07001# Error Estimate
2# _SET = 1
3# _CLEAR = 0
4ERR_ESTIMATE=0
5
Ruifeng Xud4c4fbf2016-04-15 16:09:15 -07006#NTP server
Kevin Tangfdbbb0d2020-06-08 14:03:38 -07007NTP_SERVER=time.xtracloud.net
Ajay Dudanif77c85b2012-07-09 15:27:30 -07008
Ruifeng Xu3fe22402016-11-23 10:26:00 -08009#XTRA CA path
Dante Russo2f8791e2019-10-01 16:37:20 -070010XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
Ruifeng Xu3fe22402016-11-23 10:26:00 -080011
Ajay Dudanif77c85b2012-07-09 15:27:30 -070012# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
13# 4 - Debug, 5 - Verbose
Tushar Janefalkar6fa0e8a2013-06-20 17:24:37 -070014# If DEBUG_LEVEL is commented, Android's logging levels will be used
Dante Russo85f672f2013-06-05 09:11:09 -070015DEBUG_LEVEL = 3
Ajay Dudanif77c85b2012-07-09 15:27:30 -070016
17# Intermediate position report, 1=enable, 0=disable
18INTERMEDIATE_POS=0
19
20# supl version 1.0
maxlioudb4dc522020-06-30 17:35:45 +080021SUPL_VER=0x20000
Ajay Dudanif77c85b2012-07-09 15:27:30 -070022
Jiafei Wen39bc6e22013-11-20 17:04:39 -080023# Emergency SUPL, 1=enable, 0=disable
maxlioudb4dc522020-06-30 17:35:45 +080024SUPL_ES=1
Jiafei Wen39bc6e22013-11-20 17:04:39 -080025
Tushar Janefalkara55881f2014-09-16 11:52:27 -070026#Choose PDN for Emergency SUPL
27#1 - Use emergency PDN
28#0 - Use regular SUPL PDN for Emergency SUPL
maxlioudb4dc522020-06-30 17:35:45 +080029USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
Tushar Janefalkara55881f2014-09-16 11:52:27 -070030
Kevin Tangaf2762c2014-09-11 12:19:14 -070031#SUPL_MODE is a bit mask set in config.xml per carrier by default.
Qiang Chen56a5a752015-10-09 10:26:58 -070032#If it is uncommented here, this value will overwrite the value from
Kevin Tangaf2762c2014-09-11 12:19:14 -070033#config.xml.
Kevin Tang1ca544c2014-11-10 14:18:05 -080034#MSA=0X2
35#MSB=0X1
maxlioudb4dc522020-06-30 17:35:45 +080036SUPL_MODE=0x3
Kevin Tangaf2762c2014-09-11 12:19:14 -070037
Ajay Dudanif77c85b2012-07-09 15:27:30 -070038# GPS Capabilities bit mask
Dante Russo85f672f2013-06-05 09:11:09 -070039# SCHEDULING = 0x01
40# MSB = 0x02
41# MSA = 0x04
42# ON_DEMAND_TIME = 0x10
Dante Russo5c1e23c2019-03-06 09:36:20 -080043# default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
44CAPABILITIES=0x17
Ajay Dudanif77c85b2012-07-09 15:27:30 -070045
46# Accuracy threshold for intermediate positions
47# less accurate positions are ignored, 0 for passing all positions
48# ACCURACY_THRES=5000
49
50################################
51##### AGPS server settings #####
52################################
53
54# FOR SUPL SUPPORT, set the following
55# SUPL_HOST=supl.host.com or IP
56# SUPL_PORT=1234
maxlioudb4dc522020-06-30 17:35:45 +080057SUPL_HOST=supl.google.com
58SUPL_PORT=7275
Ajay Dudanif77c85b2012-07-09 15:27:30 -070059
Mike Caileand12b82b2018-06-04 18:02:09 -070060# FOR MO SUPL SUPPORT, set the following
61# MO_SUPL_HOST=supl.host.com or IP
62# MO_SUPL_PORT=1234
63
Ajay Dudanif77c85b2012-07-09 15:27:30 -070064# FOR C2K PDE SUPPORT, set the following
65# C2K_HOST=c2k.pde.com or IP
66# C2K_PORT=1234
67
Dante Russo5cdfc252013-11-01 15:58:07 -070068# Bitmask of slots that are available
69# for write/install to, where 1s indicate writable,
70# and the default value is 0 where no slots
71# are writable. For example, AGPS_CERT_WRITABLE_MASK
72# of b1000001010 makes 3 slots available
73# and the remaining 7 slots unwritable.
74#AGPS_CERT_WRITABLE_MASK=0
75
Dante Russo85f672f2013-06-05 09:11:09 -070076####################################
77# LTE Positioning Profile Settings
78####################################
Dante Russo8dc2ec82020-06-22 10:44:25 -070079# LPP_PROFILE is a bit mask
Dante Russo85f672f2013-06-05 09:11:09 -070080# 0: Enable RRLP on LTE(Default)
maxlioudb4dc522020-06-30 17:35:45 +080081# 1: Enable LPP_User_Plane on LTE
82# 2: Enable LPP_Control_Plane
83# 3: Enable both LPP_User_Plane and LPP_Control_Plane
84LPP_PROFILE = 3
Ajay Dudanif77c85b2012-07-09 15:27:30 -070085
Hoss Zhou32035042018-11-27 15:00:57 +080086####################################
87#Datum Type
88####################################
89# 0: WGS-84
90# 1: PZ-90
91DATUM_TYPE = 0
92
Ajay Dudanif77c85b2012-07-09 15:27:30 -070093################################
94# EXTRA SETTINGS
95################################
Dante Russo85f672f2013-06-05 09:11:09 -070096# NMEA provider (1=Modem Processor, 0=Application Processor)
97NMEA_PROVIDER=0
Wei Chen3a84bfa2019-09-30 11:46:56 -070098
Hoss Zhou17923fd2020-09-04 23:30:52 +080099################################
100# NMEA TAG BLOCK GROUPING
101################################
102# NMEA tag block grouping is only applicable to GSA
103# Default is disabled
104# 0 - disabled
105# 1 - enabled
106NMEA_TAG_BLOCK_GROUPING_ENABLED = 0
107
Wei Chen3a84bfa2019-09-30 11:46:56 -0700108# Customized NMEA GGA fix quality that can be used to tell
109# whether SENSOR contributed to the fix.
110#
111# When this configuration item is not enabled (set to any value that is not 1),
112# GGA fix quality conforms to NMEA standard spec as below:
113# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
114# RTK fixed fix w/ or w/o sensor: 4
115# RTK float fix w/ or w/o sensor: 5
116# SPE fix w/ or w/o sensor: 1
117# Sensor dead reckoning fix: 6
118#
119# When this configuration is enabled (set to 1), GGA fix quality
120# will be output as below:
121# PPP fix w/o sensor: 59, w/ sensor: 69
122# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
123# RTK fixed fix w/o sensor: 4, w/ sensor: 64
124# RTK float fix w/o sensor: 5, w/ sensor: 65,
125# SPE fix w/o sensor: 1, and w/ sensor: 61
126# Sensor dead reckoning fix: 6
127#
128# any value that is not 1 - disabled
129# 1 - enabled
130CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
131
Naresh Munagala7bd18fd2019-07-25 15:54:06 +0530132################################
133# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
134################################
135# NMEA Reporting Rate
136# Set it to "1HZ" for 1Hz NMEA Reporting
137# Set it to "NHZ" for NHz NMEA Reporting
138#Default : NHZ (overridden by position update rate if set to lower rates)
139NMEA_REPORT_RATE=NHZ
Wei Chen9cc808c2019-09-30 11:46:56 -0700140
Jiafei Wendb7d7542014-01-08 11:07:25 -0800141# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
142SGLTE_TARGET=0
Ajay Dudanif77c85b2012-07-09 15:27:30 -0700143
Dante Russo85f672f2013-06-05 09:11:09 -0700144##################################################
145# Select Positioning Protocol on A-GLONASS system
146##################################################
147# 0x1: RRC CPlane
148# 0x2: RRLP UPlane
149# 0x4: LLP Uplane
maxlioudb4dc522020-06-30 17:35:45 +0800150A_GLONASS_POS_PROTOCOL_SELECT = 0x7
Bhavna Sharma310aa842016-05-10 12:07:28 -0700151
152##################################################
153# Select technology for LPPe Control Plane
154##################################################
155# 0x1: DBH for LPPe CP
156# 0x2: WLAN AP Measurements for LPPe CP
Harikrishnan Hariharane581b622016-11-11 00:25:45 +0530157# 0x4: SRN AP measurement for CP
158# 0x8: Sensor Barometer Measurement LPPe CP
Yingjie Wangd3e6df02019-08-19 10:57:41 +0800159#LPPE_CP_TECHNOLOGY = 0
Bhavna Sharma310aa842016-05-10 12:07:28 -0700160
161##################################################
162# Select technology for LPPe User Plane
163##################################################
164# 0x1: DBH for LPPe UP
165# 0x2: WLAN AP Measurements for LPPe UP
Harikrishnan Hariharane581b622016-11-11 00:25:45 +0530166# 0x4: SRN AP measurement for UP
167# 0x8: Sensor Barometer Measurement LPPe UP
Yingjie Wangd3e6df02019-08-19 10:57:41 +0800168#LPPE_UP_TECHNOLOGY = 0
Kevin Tang54794a42016-04-08 19:56:27 -0700169
170##################################################
171# AGPS_CONFIG_INJECT
172##################################################
173# enable/disable injection of AGPS configurations:
174# SUPL_VER
175# SUPL_HOST
176# SUPL_PORT
Mike Caileand12b82b2018-06-04 18:02:09 -0700177# MO_SUPL_HOST
178# MO_SUPL_PORT
Kevin Tang54794a42016-04-08 19:56:27 -0700179# C2K_HOST
180# C2K_PORT
181# LPP_PROFILE
182# A_GLONASS_POS_PROTOCOL_SELECT
183# 0: disable
184# 1: enable
185AGPS_CONFIG_INJECT = 1
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530186
187##################################################
188# GNSS settings for automotive use cases
189# Configurations in following section are
190# specific to automotive use cases, others
191# please do not change, keep the default values
192##################################################
193
Kevin Tang594daf92015-10-19 22:30:58 -0700194# AP Coarse Timestamp Uncertainty
195##################################################
196# default : 10
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530197# AP time stamp uncertainty, until GNSS receiver
198# is able to acquire better timing information
Kevin Tang594daf92015-10-19 22:30:58 -0700199AP_TIMESTAMP_UNCERTAINTY = 10
200
Kevin Tang594daf92015-10-19 22:30:58 -0700201#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530202# DR_SYNC Pulse Availability
Kevin Tang594daf92015-10-19 22:30:58 -0700203#####################################
204# 0 : DR_SYNC pulse not available (default)
205# 1 : DR_SYNC pulse available
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530206# This configuration enables the driver to make use
207# of PPS events generated by DR_SYNC pulse
208# Standard Linux PPS driver needs to be enabled
Kevin Tang594daf92015-10-19 22:30:58 -0700209DR_SYNC_ENABLED = 0
210
211#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530212# PPS Device name
Kevin Tang594daf92015-10-19 22:30:58 -0700213#####################################
214PPS_DEVICENAME = /dev/pps0
215
216#####################################
Naresh Munagala453ea462017-10-20 15:26:33 +0530217# Ignore PPS at Startup and after long outage
218#####################################
219IGNORE_PPS_PULSE_COUNT = 1
220
221#####################################
222# Long GNSS RF outage in seconds
223#####################################
224GNSS_OUTAGE_DURATION = 10
225
226#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530227# AP Clock Accuracy
Kevin Tang594daf92015-10-19 22:30:58 -0700228#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530229# Quality of APPS processor clock (in PPM).
230# Value specified is used for calculation of
231# APPS time stamp uncertainty
Kevin Tang594daf92015-10-19 22:30:58 -0700232AP_CLOCK_PPM = 100
233
234#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530235# MAX ms difference to detect missing pulse
Kevin Tang594daf92015-10-19 22:30:58 -0700236#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530237# Specifies time threshold in ms to validate any missing PPS pulses
Kevin Tang594daf92015-10-19 22:30:58 -0700238MISSING_PULSE_TIME_DELTA = 900
239
240#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530241# Propagation time uncertainty
Kevin Tang594daf92015-10-19 22:30:58 -0700242#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530243# This settings enables time uncertainty propagation
244# logic incase of missing PPS pulse
Kevin Tang594daf92015-10-19 22:30:58 -0700245PROPAGATION_TIME_UNCERTAINTY = 1
Srivastava2a965412017-02-21 00:59:46 +0530246
247#######################################
248# APN / IP Type Configuration
249# APN and IP Type to use for setting
250# up WWAN call.
251# Use below values for IP Type:
252# v4 = 4
253# v6 = 6
254# v4v6 = 10
255#######################################
256# INTERNET_APN = abc.xyz
257# INTERNET_IP_TYPE = 4
258# SUPL_APN = abc.xyz
259# SUPL_IP_TYPE = 4
Mike Cailean745505e2018-05-24 11:09:33 -0700260
261#####################################
262# Modem type
263#####################################
264# This setting configures modem type
265# (external=0 or internal=1)
266# comment out the next line to vote
267# for the first modem in the list
268MODEM_TYPE = 1
269
Dante Russo2bef34e2018-09-11 15:36:47 -0700270##################################################
271# CONSTRAINED TIME UNCERTAINTY MODE
272##################################################
273# 0 : disabled (default)
274# 1 : enabled
275# This setting enables GPS engine to keep its time
276# uncertainty below the specified constraint
277#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
278
279# If constrained time uncertainty mode is enabled,
280# this setting specifies the time uncertainty
281# threshold that gps engine need to maintain.
282# In unit of milli-seconds.
283# Default is 0.0 meaning that modem default value
284# of time uncertainty threshold will be used.
285#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
286
287# If constrained time uncertainty mode is enabled,
288# this setting specifies the power budget that
289# gps engine is allowed to spend to maintain the time
290# uncertainty.
291# Default is 0 meaning that GPS engine is not constained
292# by power budget and can spend as much power as needed.
293# In unit of 0.1 milli watt second.
294#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
295
296##################################################
297# POSITION ASSISTED CLOCK ESTIMATOR
298##################################################
299# 0 : disabled (default)
300# 1 : enabled
301# This setting enables GPS engine to estimate clock
302# bias and drift when the signal from at least 1
303# SV is available and the UE’s position is known by
304# other position engines.
305#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
Mike Caileancd1031a2019-04-18 12:57:11 -0700306
307#####################################
308# proxyAppPackageName
309#####################################
310# This is a string that is sent to the framework
311# in nfwNotifyCb callback
312PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation
Mike Caileanaa95ca22019-05-01 13:19:19 -0700313
314#####################################
315# CP_MTLR_ES
316#####################################
317# CP MTLR ES, 1=enable, 0=disable
318CP_MTLR_ES=0
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530319
320##################################################
321# GNSS_DEPLOYMENT
322##################################################
Santoshkumar Zalake2cae87f2019-09-13 15:30:41 +0530323# 0 : Enable QTI GNSS (default)
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530324# 1 : Enable QCSR SS5
Dante Russob72ebe32020-07-09 17:18:03 -0700325# 2 : Enable PDS API
326# This setting use to select between QTI GNSS,
327# QCSR SS5 hardware receiver, and PDS API.
Santoshkumar Zalake2cae87f2019-09-13 15:30:41 +0530328# By default QTI GNSS receiver is enabled.
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530329# GNSS_DEPLOYMENT = 0
haohuangd71529a2019-09-16 16:03:09 +0800330
331##################################################
332## LOG BUFFER CONFIGURATION
333##################################################
334#LOG_BUFFER_ENABLED, 1=enable, 0=disable
335#*_LEVEL_TIME_DEPTH, maximum time depth of level *
336#in log buffer, unit is second
337#*_LEVEL_MAX_CAPACITY, maximum numbers of level *
338#log print sentences in log buffer
339LOG_BUFFER_ENABLED = 0
340E_LEVEL_TIME_DEPTH = 600
341E_LEVEL_MAX_CAPACITY = 50
342W_LEVEL_TIME_DEPTH = 500
343W_LEVEL_MAX_CAPACITY = 100
344I_LEVEL_TIME_DEPTH = 400
345I_LEVEL_MAX_CAPACITY = 200
346D_LEVEL_TIME_DEPTH = 30
347D_LEVEL_MAX_CAPACITY = 300
348V_LEVEL_TIME_DEPTH = 200
349V_LEVEL_MAX_CAPACITY = 400
350
Srivastava, Saurabhaa949382020-04-16 15:25:00 +0530351##################################################
Naresh Munagalad9182f72019-11-29 15:06:19 +0530352# Allow buffer diag log packets when diag memory allocation
353# fails during boot up time.
354##################################################
355BUFFER_DIAG_LOGGING = 1
Hoss Zhou61260d62020-06-19 15:01:34 +0800356
357#######################################
358# NTRIP CLIENT LIBRARY NAME
359#######################################
360# NTRIP_CLIENT_LIB_NAME =
361
362##################################################
363# Correction Data Framework settings
364# Default values:
365# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
366# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
367# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
368#
Hoss Zhou61260d62020-06-19 15:01:34 +0800369# If multiple sources coexist on a PL,
370# the prorioty sequence can be set by the integer number.
371# PRIORITY_1 is higher than PRIORITY_2, for example,
372# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
373# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
374##################################################
Hoss Zhou61260d62020-06-19 15:01:34 +0800375
Mike Cailean3edeba12020-07-31 10:27:46 -0700376##################################################
377# RF LOSS
378# The loss in 0.1 dbHz from the C/N0 at the antenna port
379# These values must be configured by OEM if not
380# supported in QMI LOC message
381# There is one entry for each signal type
382##################################################
383RF_LOSS_GPS = 0
384RF_LOSS_GPS_L5 = 0
385RF_LOSS_GLO_LEFT = 0
386RF_LOSS_GLO_CENTER = 0
387RF_LOSS_GLO_RIGHT = 0
388RF_LOSS_BDS = 0
389RF_LOSS_BDS_B2A = 0
390RF_LOSS_GAL = 0
391RF_LOSS_GAL_E5 = 0
392RF_LOSS_NAVIC = 0