blob: 75f12f2f4fa251860ed5e33f67e5b9a829f73d02 [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
21SUPL_VER=0x10000
22
Jiafei Wen39bc6e22013-11-20 17:04:39 -080023# Emergency SUPL, 1=enable, 0=disable
Dante Russo9d0d8e32019-04-25 15:27:40 -070024#SUPL_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
Dante Russo2110e552016-10-07 16:04:40 -070029#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0
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
Kevin Tangaf2762c2014-09-11 12:19:14 -070036#SUPL_MODE=
37
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
57
Mike Caileand12b82b2018-06-04 18:02:09 -070058# FOR MO SUPL SUPPORT, set the following
59# MO_SUPL_HOST=supl.host.com or IP
60# MO_SUPL_PORT=1234
61
Ajay Dudanif77c85b2012-07-09 15:27:30 -070062# FOR C2K PDE SUPPORT, set the following
63# C2K_HOST=c2k.pde.com or IP
64# C2K_PORT=1234
65
Dante Russo5cdfc252013-11-01 15:58:07 -070066# Bitmask of slots that are available
67# for write/install to, where 1s indicate writable,
68# and the default value is 0 where no slots
69# are writable. For example, AGPS_CERT_WRITABLE_MASK
70# of b1000001010 makes 3 slots available
71# and the remaining 7 slots unwritable.
72#AGPS_CERT_WRITABLE_MASK=0
73
Dante Russo85f672f2013-06-05 09:11:09 -070074####################################
75# LTE Positioning Profile Settings
76####################################
Dante Russo8dc2ec82020-06-22 10:44:25 -070077# LPP_PROFILE is a bit mask
Dante Russo85f672f2013-06-05 09:11:09 -070078# 0: Enable RRLP on LTE(Default)
Dante Russo8dc2ec82020-06-22 10:44:25 -070079# 0x1: LPP User Plane
80# 0x2: LPP Control Plane
81# 0x4: LPP User Plane for NR5G
82# 0x8: LPP Control Plane for NR5G
Qiang Chen56a5a752015-10-09 10:26:58 -070083LPP_PROFILE = 2
Ajay Dudanif77c85b2012-07-09 15:27:30 -070084
Hoss Zhou32035042018-11-27 15:00:57 +080085####################################
86#Datum Type
87####################################
88# 0: WGS-84
89# 1: PZ-90
90DATUM_TYPE = 0
91
Ajay Dudanif77c85b2012-07-09 15:27:30 -070092################################
93# EXTRA SETTINGS
94################################
Dante Russo85f672f2013-06-05 09:11:09 -070095# NMEA provider (1=Modem Processor, 0=Application Processor)
96NMEA_PROVIDER=0
Wei Chen3a84bfa2019-09-30 11:46:56 -070097
Hoss Zhou17923fd2020-09-04 23:30:52 +080098################################
99# NMEA TAG BLOCK GROUPING
100################################
101# NMEA tag block grouping is only applicable to GSA
102# Default is disabled
103# 0 - disabled
104# 1 - enabled
105NMEA_TAG_BLOCK_GROUPING_ENABLED = 0
106
Wei Chen3a84bfa2019-09-30 11:46:56 -0700107# Customized NMEA GGA fix quality that can be used to tell
108# whether SENSOR contributed to the fix.
109#
110# When this configuration item is not enabled (set to any value that is not 1),
111# GGA fix quality conforms to NMEA standard spec as below:
112# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
113# RTK fixed fix w/ or w/o sensor: 4
114# RTK float fix w/ or w/o sensor: 5
115# SPE fix w/ or w/o sensor: 1
116# Sensor dead reckoning fix: 6
117#
118# When this configuration is enabled (set to 1), GGA fix quality
119# will be output as below:
120# PPP fix w/o sensor: 59, w/ sensor: 69
121# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
122# RTK fixed fix w/o sensor: 4, w/ sensor: 64
123# RTK float fix w/o sensor: 5, w/ sensor: 65,
124# SPE fix w/o sensor: 1, and w/ sensor: 61
125# Sensor dead reckoning fix: 6
126#
127# any value that is not 1 - disabled
128# 1 - enabled
129CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
130
Naresh Munagala7bd18fd2019-07-25 15:54:06 +0530131################################
132# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
133################################
134# NMEA Reporting Rate
135# Set it to "1HZ" for 1Hz NMEA Reporting
136# Set it to "NHZ" for NHz NMEA Reporting
137#Default : NHZ (overridden by position update rate if set to lower rates)
138NMEA_REPORT_RATE=NHZ
Wei Chen9cc808c2019-09-30 11:46:56 -0700139
Jiafei Wendb7d7542014-01-08 11:07:25 -0800140# Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
141SGLTE_TARGET=0
Ajay Dudanif77c85b2012-07-09 15:27:30 -0700142
Dante Russo85f672f2013-06-05 09:11:09 -0700143##################################################
144# Select Positioning Protocol on A-GLONASS system
145##################################################
146# 0x1: RRC CPlane
147# 0x2: RRLP UPlane
148# 0x4: LLP Uplane
149A_GLONASS_POS_PROTOCOL_SELECT = 0
Bhavna Sharma310aa842016-05-10 12:07:28 -0700150
151##################################################
152# Select technology for LPPe Control Plane
153##################################################
154# 0x1: DBH for LPPe CP
155# 0x2: WLAN AP Measurements for LPPe CP
Harikrishnan Hariharane581b622016-11-11 00:25:45 +0530156# 0x4: SRN AP measurement for CP
157# 0x8: Sensor Barometer Measurement LPPe CP
Yingjie Wangd3e6df02019-08-19 10:57:41 +0800158#LPPE_CP_TECHNOLOGY = 0
Bhavna Sharma310aa842016-05-10 12:07:28 -0700159
160##################################################
161# Select technology for LPPe User Plane
162##################################################
163# 0x1: DBH for LPPe UP
164# 0x2: WLAN AP Measurements for LPPe UP
Harikrishnan Hariharane581b622016-11-11 00:25:45 +0530165# 0x4: SRN AP measurement for UP
166# 0x8: Sensor Barometer Measurement LPPe UP
Yingjie Wangd3e6df02019-08-19 10:57:41 +0800167#LPPE_UP_TECHNOLOGY = 0
Kevin Tang54794a42016-04-08 19:56:27 -0700168
169##################################################
170# AGPS_CONFIG_INJECT
171##################################################
172# enable/disable injection of AGPS configurations:
173# SUPL_VER
174# SUPL_HOST
175# SUPL_PORT
Mike Caileand12b82b2018-06-04 18:02:09 -0700176# MO_SUPL_HOST
177# MO_SUPL_PORT
Kevin Tang54794a42016-04-08 19:56:27 -0700178# C2K_HOST
179# C2K_PORT
180# LPP_PROFILE
181# A_GLONASS_POS_PROTOCOL_SELECT
182# 0: disable
183# 1: enable
184AGPS_CONFIG_INJECT = 1
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530185
186##################################################
187# GNSS settings for automotive use cases
188# Configurations in following section are
189# specific to automotive use cases, others
190# please do not change, keep the default values
191##################################################
192
Kevin Tang594daf92015-10-19 22:30:58 -0700193# AP Coarse Timestamp Uncertainty
194##################################################
195# default : 10
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530196# AP time stamp uncertainty, until GNSS receiver
197# is able to acquire better timing information
Kevin Tang594daf92015-10-19 22:30:58 -0700198AP_TIMESTAMP_UNCERTAINTY = 10
199
Kevin Tang594daf92015-10-19 22:30:58 -0700200#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530201# DR_SYNC Pulse Availability
Kevin Tang594daf92015-10-19 22:30:58 -0700202#####################################
203# 0 : DR_SYNC pulse not available (default)
204# 1 : DR_SYNC pulse available
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530205# This configuration enables the driver to make use
206# of PPS events generated by DR_SYNC pulse
207# Standard Linux PPS driver needs to be enabled
Kevin Tang594daf92015-10-19 22:30:58 -0700208DR_SYNC_ENABLED = 0
209
210#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530211# PPS Device name
Kevin Tang594daf92015-10-19 22:30:58 -0700212#####################################
213PPS_DEVICENAME = /dev/pps0
214
215#####################################
Naresh Munagala453ea462017-10-20 15:26:33 +0530216# Ignore PPS at Startup and after long outage
217#####################################
218IGNORE_PPS_PULSE_COUNT = 1
219
220#####################################
221# Long GNSS RF outage in seconds
222#####################################
223GNSS_OUTAGE_DURATION = 10
224
225#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530226# AP Clock Accuracy
Kevin Tang594daf92015-10-19 22:30:58 -0700227#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530228# Quality of APPS processor clock (in PPM).
229# Value specified is used for calculation of
230# APPS time stamp uncertainty
Kevin Tang594daf92015-10-19 22:30:58 -0700231AP_CLOCK_PPM = 100
232
233#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530234# MAX ms difference to detect missing pulse
Kevin Tang594daf92015-10-19 22:30:58 -0700235#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530236# Specifies time threshold in ms to validate any missing PPS pulses
Kevin Tang594daf92015-10-19 22:30:58 -0700237MISSING_PULSE_TIME_DELTA = 900
238
239#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530240# Propagation time uncertainty
Kevin Tang594daf92015-10-19 22:30:58 -0700241#####################################
Madhanraj Chelladuraid35e7c32016-12-19 11:23:28 +0530242# This settings enables time uncertainty propagation
243# logic incase of missing PPS pulse
Kevin Tang594daf92015-10-19 22:30:58 -0700244PROPAGATION_TIME_UNCERTAINTY = 1
Srivastava2a965412017-02-21 00:59:46 +0530245
246#######################################
247# APN / IP Type Configuration
248# APN and IP Type to use for setting
249# up WWAN call.
250# Use below values for IP Type:
251# v4 = 4
252# v6 = 6
253# v4v6 = 10
254#######################################
255# INTERNET_APN = abc.xyz
256# INTERNET_IP_TYPE = 4
257# SUPL_APN = abc.xyz
258# SUPL_IP_TYPE = 4
Mike Cailean745505e2018-05-24 11:09:33 -0700259
260#####################################
261# Modem type
262#####################################
263# This setting configures modem type
264# (external=0 or internal=1)
265# comment out the next line to vote
266# for the first modem in the list
267MODEM_TYPE = 1
268
Dante Russo2bef34e2018-09-11 15:36:47 -0700269##################################################
270# CONSTRAINED TIME UNCERTAINTY MODE
271##################################################
272# 0 : disabled (default)
273# 1 : enabled
274# This setting enables GPS engine to keep its time
275# uncertainty below the specified constraint
276#CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
277
278# If constrained time uncertainty mode is enabled,
279# this setting specifies the time uncertainty
280# threshold that gps engine need to maintain.
281# In unit of milli-seconds.
282# Default is 0.0 meaning that modem default value
283# of time uncertainty threshold will be used.
284#CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
285
286# If constrained time uncertainty mode is enabled,
287# this setting specifies the power budget that
288# gps engine is allowed to spend to maintain the time
289# uncertainty.
290# Default is 0 meaning that GPS engine is not constained
291# by power budget and can spend as much power as needed.
292# In unit of 0.1 milli watt second.
293#CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
294
295##################################################
296# POSITION ASSISTED CLOCK ESTIMATOR
297##################################################
298# 0 : disabled (default)
299# 1 : enabled
300# This setting enables GPS engine to estimate clock
301# bias and drift when the signal from at least 1
302# SV is available and the UE’s position is known by
303# other position engines.
304#POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
Mike Caileancd1031a2019-04-18 12:57:11 -0700305
306#####################################
307# proxyAppPackageName
308#####################################
309# This is a string that is sent to the framework
310# in nfwNotifyCb callback
311PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation
Mike Caileanaa95ca22019-05-01 13:19:19 -0700312
313#####################################
314# CP_MTLR_ES
315#####################################
316# CP MTLR ES, 1=enable, 0=disable
317CP_MTLR_ES=0
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530318
319##################################################
320# GNSS_DEPLOYMENT
321##################################################
Santoshkumar Zalake2cae87f2019-09-13 15:30:41 +0530322# 0 : Enable QTI GNSS (default)
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530323# 1 : Enable QCSR SS5
Dante Russob72ebe32020-07-09 17:18:03 -0700324# 2 : Enable PDS API
325# This setting use to select between QTI GNSS,
326# QCSR SS5 hardware receiver, and PDS API.
Santoshkumar Zalake2cae87f2019-09-13 15:30:41 +0530327# By default QTI GNSS receiver is enabled.
Santoshkumar Zalake42e8ab02019-06-07 13:55:19 +0530328# GNSS_DEPLOYMENT = 0
haohuangd71529a2019-09-16 16:03:09 +0800329
330##################################################
331## LOG BUFFER CONFIGURATION
332##################################################
333#LOG_BUFFER_ENABLED, 1=enable, 0=disable
334#*_LEVEL_TIME_DEPTH, maximum time depth of level *
335#in log buffer, unit is second
336#*_LEVEL_MAX_CAPACITY, maximum numbers of level *
337#log print sentences in log buffer
338LOG_BUFFER_ENABLED = 0
339E_LEVEL_TIME_DEPTH = 600
340E_LEVEL_MAX_CAPACITY = 50
341W_LEVEL_TIME_DEPTH = 500
342W_LEVEL_MAX_CAPACITY = 100
343I_LEVEL_TIME_DEPTH = 400
344I_LEVEL_MAX_CAPACITY = 200
345D_LEVEL_TIME_DEPTH = 30
346D_LEVEL_MAX_CAPACITY = 300
347V_LEVEL_TIME_DEPTH = 200
348V_LEVEL_MAX_CAPACITY = 400
349
Srivastava, Saurabhaa949382020-04-16 15:25:00 +0530350##################################################
Naresh Munagalad9182f72019-11-29 15:06:19 +0530351# Allow buffer diag log packets when diag memory allocation
352# fails during boot up time.
353##################################################
354BUFFER_DIAG_LOGGING = 1
Hoss Zhou61260d62020-06-19 15:01:34 +0800355
356#######################################
357# NTRIP CLIENT LIBRARY NAME
358#######################################
359# NTRIP_CLIENT_LIB_NAME =
360
361##################################################
362# Correction Data Framework settings
363# Default values:
364# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
365# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
366# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
367#
Hoss Zhou61260d62020-06-19 15:01:34 +0800368# If multiple sources coexist on a PL,
369# the prorioty sequence can be set by the integer number.
370# PRIORITY_1 is higher than PRIORITY_2, for example,
371# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
372# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
373##################################################
Hoss Zhou61260d62020-06-19 15:01:34 +0800374
Mike Cailean3edeba12020-07-31 10:27:46 -0700375##################################################
376# RF LOSS
377# The loss in 0.1 dbHz from the C/N0 at the antenna port
378# These values must be configured by OEM if not
379# supported in QMI LOC message
380# There is one entry for each signal type
381##################################################
382RF_LOSS_GPS = 0
383RF_LOSS_GPS_L5 = 0
384RF_LOSS_GLO_LEFT = 0
385RF_LOSS_GLO_CENTER = 0
386RF_LOSS_GLO_RIGHT = 0
387RF_LOSS_BDS = 0
388RF_LOSS_BDS_B2A = 0
389RF_LOSS_GAL = 0
390RF_LOSS_GAL_E5 = 0
391RF_LOSS_NAVIC = 0