Advertisement
Guest User

my final gps.conf for the OnePlus One

a guest
Oct 27th, 2014
1,808
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.55 KB | None | 0 0
  1. #Uncommenting these urls would only enable
  2.  
  3. #the power up auto injection and force injection(test case).
  4.  
  5. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
  6.  
  7. XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
  8.  
  9. XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
  10.  
  11. #
  12.  
  13. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
  14.  
  15. XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
  16.  
  17. XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
  18.  
  19.  
  20.  
  21. # Error Estimate
  22.  
  23. # _SET = 1
  24.  
  25. # _CLEAR = 0
  26.  
  27. ERR_ESTIMATE=0
  28.  
  29.  
  30.  
  31. #Test
  32.  
  33. #NTP_SERVER=time.gpsonextra.net
  34.  
  35. #Asia
  36.  
  37. # NTP_SERVER=asia.pool.ntp.org
  38.  
  39. #Europe
  40. NTP_SERVER=europe.pool.ntp.org
  41.  
  42. #North America
  43.  
  44. # NTP_SERVER=north-america.pool.ntp.org
  45.  
  46.  
  47.  
  48. # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
  49.  
  50. #   4 - Debug, 5 - Verbose
  51.  
  52. # If DEBUG_LEVEL is commented, Android's logging levels will be used
  53.  
  54. DEBUG_LEVEL = 3
  55.  
  56.  
  57.  
  58. # Intermediate position report, 1=enable, 0=disable
  59.  
  60. INTERMEDIATE_POS=0
  61.  
  62.  
  63.  
  64. # supl version 1.0
  65.  
  66. SUPL_VER=0x20000
  67.  
  68.  
  69.  
  70. # Emergency SUPL, 1=enable, 0=disable
  71.  
  72. SUPL_ES=1
  73.  
  74.  
  75.  
  76. # GPS Capabilities bit mask
  77.  
  78. # SCHEDULING = 0x01
  79.  
  80. # MSB = 0x02
  81.  
  82. # MSA = 0x04
  83.  
  84. # ON_DEMAND_TIME = 0x10
  85.  
  86. # GEOFENCE = 0x20
  87.  
  88. # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
  89.  
  90. CAPABILITIES=0x37
  91.  
  92.  
  93.  
  94. # Accuracy threshold for intermediate positions
  95.  
  96. # less accurate positions are ignored, 0 for passing all positions
  97.  
  98. # ACCURACY_THRES=5000
  99.  
  100.  
  101.  
  102. ################################
  103.  
  104. ##### AGPS server settings #####
  105.  
  106. ################################
  107.  
  108.  
  109.  
  110. # FOR SUPL SUPPORT, set the following
  111.  
  112. SUPL_HOST=supl.google.com
  113.  
  114. SUPL_PORT=7275
  115.  
  116.  
  117.  
  118. # FOR C2K PDE SUPPORT, set the following
  119.  
  120. # C2K_HOST=c2k.pde.com or IP
  121.  
  122. # C2K_PORT=1234
  123.  
  124.  
  125.  
  126. ####################################
  127.  
  128. #  LTE Positioning Profile Settings
  129.  
  130. ####################################
  131.  
  132. # 0: Enable RRLP on LTE(Default)
  133.  
  134. # 1: Enable LPP_User_Plane on LTE
  135.  
  136. # 2: Enable LPP_Control_Plane
  137.  
  138. # 3: Enable both LPP_User_Plane and LPP_Control_Plane
  139.  
  140. LPP_PROFILE = 3
  141.  
  142.  
  143.  
  144. ################################
  145.  
  146. # EXTRA SETTINGS
  147.  
  148. ################################
  149.  
  150. # NMEA provider (1=Modem Processor, 0=Application Processor)
  151.  
  152. NMEA_PROVIDER=0
  153.  
  154. # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
  155.  
  156. SGLTE_TARGET=1
  157.  
  158.  
  159.  
  160. ##################################################
  161.  
  162. # Select Positioning Protocol on A-GLONASS system
  163.  
  164. ##################################################
  165.  
  166. # 0x1: RRC CPlane
  167.  
  168. # 0x2: RRLP UPlane
  169.  
  170. # 0x4: LLP Uplane
  171.  
  172. A_GLONASS_POS_PROTOCOL_SELECT = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement