gps.conf 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451
  1. # Error Estimate
  2. # _SET = 1
  3. # _CLEAR = 0
  4. ERR_ESTIMATE=0
  5. #NTP server
  6. NTP_SERVER=time.xtracloud.net
  7. #XTRA CA path
  8. XTRA_CA_PATH=/usr/lib/ssl-1.1/certs
  9. # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
  10. # 4 - Debug, 5 - Verbose
  11. # If DEBUG_LEVEL is commented, Android's logging levels will be used
  12. DEBUG_LEVEL = 3
  13. # QXDM LOG if ENABLED (1) LOC_LOG macros will go to QXDM as well as adb
  14. # LOC_DIAGIFACE_ENABLED must be enabled as well
  15. # 1=enable, 0=disable
  16. QXDM_LOG = 0
  17. # Intermediate position report, 1=enable, 0=disable
  18. INTERMEDIATE_POS=0
  19. # supl version 2.0
  20. SUPL_VER=0x20000
  21. # Emergency SUPL, 1=enable, 0=disable
  22. SUPL_ES=1
  23. #Choose PDN for Emergency SUPL
  24. #1 - Use emergency PDN
  25. #0 - Use regular SUPL PDN for Emergency SUPL
  26. USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=1
  27. #SUPL_MODE is a bit mask set in config.xml per carrier by default.
  28. #If it is uncommented here, this value will overwrite the value from
  29. #config.xml.
  30. #MSA=0X2
  31. #MSB=0X1
  32. #Sensor R&D : Change default bit mask
  33. SUPL_MODE=3
  34. # GPS Capabilities bit mask
  35. # SCHEDULING = 0x01
  36. # MSB = 0x02
  37. # MSA = 0x04
  38. # ON_DEMAND_TIME = 0x10
  39. # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING
  40. CAPABILITIES=0x17
  41. # Accuracy threshold for intermediate positions
  42. # less accurate positions are ignored, 0 for passing all positions
  43. # ACCURACY_THRES=5000
  44. ################################
  45. ##### AGPS server settings #####
  46. ################################
  47. # FOR SUPL SUPPORT, set the following
  48. # SUPL_HOST=supl.host.com or IP
  49. # SUPL_PORT=1234
  50. # FOR MO SUPL SUPPORT, set the following
  51. # MO_SUPL_HOST=supl.host.com or IP
  52. # MO_SUPL_PORT=1234
  53. # FOR C2K PDE SUPPORT, set the following
  54. # C2K_HOST=c2k.pde.com or IP
  55. # C2K_PORT=1234
  56. # Bitmask of slots that are available
  57. # for write/install to, where 1s indicate writable,
  58. # and the default value is 0 where no slots
  59. # are writable. For example, AGPS_CERT_WRITABLE_MASK
  60. # of b1000001010 makes 3 slots available
  61. # and the remaining 7 slots unwritable.
  62. #AGPS_CERT_WRITABLE_MASK=0
  63. ####################################
  64. # LTE Positioning Profile Settings
  65. ####################################
  66. # LPP_PROFILE is a bit mask
  67. # 0: Enable RRLP on LTE(Default)
  68. # 0x1: LPP User Plane
  69. # 0x2: LPP Control Plane
  70. # 0x4: LPP User Plane for NR5G
  71. # 0x8: LPP Control Plane for NR5G
  72. LPP_PROFILE = 2
  73. ####################################
  74. #Datum Type
  75. ####################################
  76. # 0: WGS-84
  77. # 1: PZ-90
  78. DATUM_TYPE = 0
  79. ################################
  80. # EXTRA SETTINGS
  81. ################################
  82. # NMEA provider (1=Modem Processor, 0=Application Processor)
  83. NMEA_PROVIDER=0
  84. ################################
  85. # NMEA TAG BLOCK GROUPING
  86. ################################
  87. # NMEA tag block grouping is only applicable to GSA
  88. # Default is disabled
  89. # 0 - disabled
  90. # 1 - enabled
  91. NMEA_TAG_BLOCK_GROUPING_ENABLED = 0
  92. # Customized NMEA GGA fix quality that can be used to tell
  93. # whether SENSOR contributed to the fix.
  94. #
  95. # When this configuration item is not enabled (set to any value that is not 1),
  96. # GGA fix quality conforms to NMEA standard spec as below:
  97. # PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2
  98. # RTK fixed fix w/ or w/o sensor: 4
  99. # RTK float fix w/ or w/o sensor: 5
  100. # SPE fix w/ or w/o sensor: 1
  101. # Sensor dead reckoning fix: 6
  102. #
  103. # When this configuration is enabled (set to 1), GGA fix quality
  104. # will be output as below:
  105. # PPP fix w/o sensor: 59, w/ sensor: 69
  106. # DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62
  107. # RTK fixed fix w/o sensor: 4, w/ sensor: 64
  108. # RTK float fix w/o sensor: 5, w/ sensor: 65,
  109. # SPE fix w/o sensor: 1, and w/ sensor: 61
  110. # Sensor dead reckoning fix: 6
  111. #
  112. # any value that is not 1 - disabled
  113. # 1 - enabled
  114. CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0
  115. ################################
  116. # NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0"
  117. ################################
  118. # NMEA Reporting Rate
  119. # Set it to "1HZ" for 1Hz NMEA Reporting
  120. # Set it to "NHZ" for NHz NMEA Reporting
  121. #Default : NHZ (overridden by position update rate if set to lower rates)
  122. NMEA_REPORT_RATE=NHZ
  123. # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
  124. SGLTE_TARGET=0
  125. ##################################################
  126. # Select Positioning Protocol on A-GLONASS system
  127. ##################################################
  128. # 0x1: RRC CPlane
  129. # 0x2: RRLP UPlane
  130. # 0x4: LLP Uplane
  131. A_GLONASS_POS_PROTOCOL_SELECT = 0
  132. ##################################################
  133. # Select technology for LPPe Control Plane
  134. ##################################################
  135. # 0x1: DBH for LPPe CP
  136. # 0x2: WLAN AP Measurements for LPPe CP
  137. # 0x4: SRN AP measurement for CP, Not Supported
  138. # 0x8: Sensor Barometer Measurement LPPe CP
  139. # 0x10: Allow LPPe during non-E911 session over CP
  140. # 0x20: Allow shipping the Civic Address to the server over CP
  141. #LPPE_CP_TECHNOLOGY = 0
  142. ##################################################
  143. # Select technology for LPPe User Plane
  144. ##################################################
  145. # 0x1: DBH for LPPe UP
  146. # 0x2: WLAN AP Measurements for LPPe UP
  147. # 0x4: SRN AP measurement for CP, Not Supported
  148. # 0x8: Sensor Barometer Measurement LPPe UP
  149. # 0x10: Allow LPPe during non-E911 session over UP
  150. # 0x20: Allow shipping the Civic Address to the server over UP
  151. #LPPE_UP_TECHNOLOGY = 0
  152. ##################################################
  153. # AGPS_CONFIG_INJECT
  154. ##################################################
  155. # enable/disable injection of AGPS configurations:
  156. # SUPL_VER
  157. # SUPL_HOST
  158. # SUPL_PORT
  159. # MO_SUPL_HOST
  160. # MO_SUPL_PORT
  161. # C2K_HOST
  162. # C2K_PORT
  163. # LPP_PROFILE
  164. # A_GLONASS_POS_PROTOCOL_SELECT
  165. # 0: disable
  166. # 1: enable
  167. AGPS_CONFIG_INJECT = 0
  168. ##################################################
  169. # GNSS settings for automotive use cases
  170. # Configurations in following section are
  171. # specific to automotive use cases, others
  172. # please do not change, keep the default values
  173. ##################################################
  174. # AP Coarse Timestamp Uncertainty
  175. ##################################################
  176. # default : 10
  177. # AP time stamp uncertainty, until GNSS receiver
  178. # is able to acquire better timing information
  179. AP_TIMESTAMP_UNCERTAINTY = 10
  180. #####################################
  181. # DR_SYNC Pulse Availability
  182. #####################################
  183. # 0 : DR_SYNC pulse not available (default)
  184. # 1 : DR_SYNC pulse available
  185. # This configuration enables the driver to make use
  186. # of PPS events generated by DR_SYNC pulse
  187. # Standard Linux PPS driver needs to be enabled
  188. DR_SYNC_ENABLED = 0
  189. #####################################
  190. # PPS Device name
  191. #####################################
  192. PPS_DEVICENAME = /dev/pps0
  193. #####################################
  194. # Ignore PPS at Startup and after long outage
  195. #####################################
  196. IGNORE_PPS_PULSE_COUNT = 1
  197. #####################################
  198. # Long GNSS RF outage in seconds
  199. #####################################
  200. GNSS_OUTAGE_DURATION = 10
  201. #####################################
  202. # Engine hub timer offset in msec
  203. #####################################
  204. #ENGINEHUB_TIMER_OFFSET_MSEC = 0
  205. #####################################
  206. # AP Clock Accuracy
  207. #####################################
  208. # Quality of APPS processor clock (in PPM).
  209. # Value specified is used for calculation of
  210. # APPS time stamp uncertainty
  211. AP_CLOCK_PPM = 100
  212. #####################################
  213. # MAX ms difference to detect missing pulse
  214. #####################################
  215. # Specifies time threshold in ms to validate any missing PPS pulses
  216. MISSING_PULSE_TIME_DELTA = 900
  217. #####################################
  218. # Propagation time uncertainty
  219. #####################################
  220. # This settings enables time uncertainty propagation
  221. # logic incase of missing PPS pulse
  222. PROPAGATION_TIME_UNCERTAINTY = 1
  223. #######################################
  224. # APN / IP Type Configuration
  225. # APN and IP Type to use for setting
  226. # up WWAN call.
  227. # Use below values for IP Type:
  228. # v4 = 4
  229. # v6 = 6
  230. # v4v6 = 10
  231. # Values for SUB_ID: 0 (DEFAULT), 1 or 2
  232. #######################################
  233. # INTERNET_APN = abc.xyz
  234. # INTERNET_IP_TYPE = 4
  235. # INTERNET_SUB_ID = 0
  236. # SUPL_APN = abc.xyz
  237. # SUPL_IP_TYPE = 4
  238. # SUPL_APN_SUB2 = abc.xyz
  239. # SUPL_IP_TYPE_SUB2 = 4
  240. #####################################
  241. # CID of Default profile
  242. #####################################
  243. # CID of Default profile to be used for data connection in case
  244. # we are not able to find the requested profile in the list for
  245. # data connection using QCMAP/LocNetIface.
  246. # default value : 1 - default profile for 3GPP
  247. CID_DEFAULT_PROFILE = 1
  248. #####################################
  249. # Set Roaming
  250. #####################################
  251. # This setting enables/disables
  252. # roaming (disable=0 or enable=1)
  253. # SET_ROAMING = 0
  254. #####################################
  255. # Modem type
  256. #####################################
  257. # This setting configures modem type
  258. # (external=0 or internal=1)
  259. # comment out the next line to vote
  260. # for the first modem in the list
  261. MODEM_TYPE = 1
  262. ##################################################
  263. # CONSTRAINED TIME UNCERTAINTY MODE
  264. ##################################################
  265. # 0 : disabled (default)
  266. # 1 : enabled
  267. # This setting enables GPS engine to keep its time
  268. # uncertainty below the specified constraint
  269. #CONSTRAINED_TIME_UNCERTAINTY_ENABLED = 0
  270. # If constrained time uncertainty mode is enabled,
  271. # this setting specifies the time uncertainty
  272. # threshold that gps engine need to maintain.
  273. # In unit of milli-seconds.
  274. # Default is 0.0 meaning that modem default value
  275. # of time uncertainty threshold will be used.
  276. #CONSTRAINED_TIME_UNCERTAINTY_THRESHOLD = 0.0
  277. # If constrained time uncertainty mode is enabled,
  278. # this setting specifies the power budget that
  279. # gps engine is allowed to spend to maintain the time
  280. # uncertainty.
  281. # Default is 0 meaning that GPS engine is not constained
  282. # by power budget and can spend as much power as needed.
  283. # In unit of 0.1 milli watt second.
  284. #CONSTRAINED_TIME_UNCERTAINTY_ENERGY_BUDGET = 0
  285. ##################################################
  286. # POSITION ASSISTED CLOCK ESTIMATOR
  287. ##################################################
  288. # 0 : disabled (default)
  289. # 1 : enabled
  290. # This setting enables GPS engine to estimate clock
  291. # bias and drift when the signal from at least 1
  292. # SV is available and the UE’s position is known by
  293. # other position engines.
  294. #POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0
  295. #####################################
  296. # package names and NFW entities they control
  297. #####################################
  298. # Each entry below reperesnts an NFW client
  299. # and the package that controls it.
  300. # A package may control more than one NFW client,
  301. # but an NFW client is controlled by one package only
  302. #
  303. # In case multiple attribution app feature is not supported
  304. # all entries below should correspond to the same package name
  305. NFW_CLIENT_CP = com.sec.location.nfwlocationprivacy
  306. NFW_CLIENT_SUPL = com.sec.location.nfwlocationprivacy
  307. NFW_CLIENT_IMS = com.sec.location.nfwlocationprivacy
  308. NFW_CLIENT_SIM = com.sec.location.nfwlocationprivacy
  309. NFW_CLIENT_MDT = com.sec.location.nfwlocationprivacy
  310. NFW_CLIENT_TLOC = com.sec.location.nfwlocationprivacy
  311. NFW_CLIENT_RLOC = com.sec.location.nfwlocationprivacy
  312. NFW_CLIENT_V2X = com.sec.location.nfwlocationprivacy
  313. NFW_CLIENT_R1 = com.sec.location.nfwlocationprivacy
  314. NFW_CLIENT_R2 = com.sec.location.nfwlocationprivacy
  315. NFW_CLIENT_R3 = com.sec.location.nfwlocationprivacy
  316. #####################################
  317. # CP_MTLR_ES
  318. #####################################
  319. # CP MTLR ES, 1=enable, 0=disable
  320. CP_MTLR_ES=0
  321. ##################################################
  322. # GNSS_DEPLOYMENT
  323. ##################################################
  324. # 0 : Enable QTI GNSS (default)
  325. # 1 : Enable QCSR SS5
  326. # 2 : Enable PDS API
  327. # 3 : Enable GNSS from attached MDM to support IVI (In-Vehicle Infotainment)
  328. # This setting is used to select between QTI GNSS,
  329. # QCSR SS5 hardware receiver, PDS API and
  330. # QTI GNSS from externally attached MDM.
  331. # By default QTI GNSS receiver is enabled.
  332. # GNSS_DEPLOYMENT = 0
  333. ##################################################
  334. ## LOG BUFFER CONFIGURATION
  335. ##################################################
  336. #LOG_BUFFER_ENABLED, 1=enable, 0=disable
  337. #*_LEVEL_TIME_DEPTH, maximum time depth of level *
  338. #in log buffer, unit is second
  339. #*_LEVEL_MAX_CAPACITY, maximum numbers of level *
  340. #log print sentences in log buffer
  341. LOG_BUFFER_ENABLED = 0
  342. E_LEVEL_TIME_DEPTH = 600
  343. E_LEVEL_MAX_CAPACITY = 50
  344. W_LEVEL_TIME_DEPTH = 500
  345. W_LEVEL_MAX_CAPACITY = 100
  346. I_LEVEL_TIME_DEPTH = 400
  347. I_LEVEL_MAX_CAPACITY = 200
  348. D_LEVEL_TIME_DEPTH = 30
  349. D_LEVEL_MAX_CAPACITY = 300
  350. V_LEVEL_TIME_DEPTH = 200
  351. V_LEVEL_MAX_CAPACITY = 400
  352. ##################################################
  353. # Allow buffer diag log packets when diag memory allocation
  354. # fails during boot up time.
  355. ##################################################
  356. BUFFER_DIAG_LOGGING = 1
  357. ##################################################
  358. # LOC_DIAGIFACE_ENABLED
  359. ##################################################
  360. # Enable or disable loading of loc diag interface
  361. # by modules using it.
  362. # 1=enable, 0=disable
  363. LOC_DIAGIFACE_ENABLED = 1
  364. #######################################
  365. # NTRIP CLIENT LIBRARY NAME
  366. #######################################
  367. # NTRIP_CLIENT_LIB_NAME =
  368. ##################################################
  369. # Correction Data Framework settings
  370. # Default values:
  371. # CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
  372. # CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins
  373. # CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second
  374. #
  375. # If multiple sources coexist on a PL,
  376. # the prorioty sequence can be set by the integer number.
  377. # PRIORITY_1 is higher than PRIORITY_2, for example,
  378. # CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM
  379. # CDFW_SOURCE_PRIORITY_2 = CV2X RTCM
  380. ##################################################
  381. ##################################################
  382. # RF LOSS
  383. # The loss in 0.1 dbHz from the C/N0 at the antenna port
  384. # These values must be configured by OEM if not
  385. # supported in QMI LOC message
  386. # There is one entry for each signal type
  387. ##################################################
  388. RF_LOSS_GPS = 0
  389. RF_LOSS_GPS_L5 = 0
  390. RF_LOSS_GLO_LEFT = 0
  391. RF_LOSS_GLO_CENTER = 0
  392. RF_LOSS_GLO_RIGHT = 0
  393. RF_LOSS_BDS = 0
  394. RF_LOSS_BDS_B2A = 0
  395. RF_LOSS_GAL = 0
  396. RF_LOSS_GAL_E5 = 0
  397. RF_LOSS_NAVIC = 0