gps.conf 13 KB

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