Advertisement
Guest User

gps.conf OnePlus One GPS/LTE Fix

a guest
Sep 15th, 2014
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. #Uncommenting these urls would only enable
  2. #the power up auto injection and force injection(test case).
  3. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
  4. XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
  5. XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
  6. #
  7. XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra2.bin
  8. XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra2.bin
  9. XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra2.bin
  10.  
  11. # Error Estimate
  12. # _SET = 1
  13. # _CLEAR = 0
  14. ERR_ESTIMATE=0
  15.  
  16. #Test
  17. #NTP_SERVER=time.gpsonextra.net
  18. #Asia
  19. # NTP_SERVER=asia.pool.ntp.org
  20. #Europe
  21. NTP_SERVER=europe.pool.ntp.org
  22. #North America
  23. # NTP_SERVER=north-america.pool.ntp.org
  24.  
  25. # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
  26. # 4 - Debug, 5 - Verbose
  27. # If DEBUG_LEVEL is commented, Android's logging levels will be used
  28. DEBUG_LEVEL = 3
  29.  
  30. # Intermediate position report, 1=enable, 0=disable
  31. INTERMEDIATE_POS=0
  32.  
  33. # supl version 1.0
  34. SUPL_VER=0x10000
  35.  
  36. # Emergency SUPL, 1=enable, 0=disable
  37. SUPL_ES=1
  38.  
  39. # GPS Capabilities bit mask
  40. # SCHEDULING = 0x01
  41. # MSB = 0x02
  42. # MSA = 0x04
  43. # ON_DEMAND_TIME = 0x10
  44. # GEOFENCE = 0x20
  45. # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING | GEOFENCE
  46. CAPABILITIES=0x37
  47.  
  48. # Accuracy threshold for intermediate positions
  49. # less accurate positions are ignored, 0 for passing all positions
  50. # ACCURACY_THRES=5000
  51.  
  52. ################################
  53. ##### AGPS server settings #####
  54. ################################
  55.  
  56. # FOR SUPL SUPPORT, set the following
  57. # SUPL_HOST=supl.host.com or IP
  58. # SUPL_PORT=1234
  59.  
  60. # FOR C2K PDE SUPPORT, set the following
  61. # C2K_HOST=c2k.pde.com or IP
  62. # C2K_PORT=1234
  63.  
  64. ####################################
  65. # LTE Positioning Profile Settings
  66. ####################################
  67. # 0: Enable RRLP on LTE(Default)
  68. # 1: Enable LPP_User_Plane on LTE
  69. # 2: Enable LPP_Control_Plane
  70. # 3: Enable both LPP_User_Plane and LPP_Control_Plane
  71. LPP_PROFILE = 3
  72.  
  73. ################################
  74. # EXTRA SETTINGS
  75. ################################
  76. # NMEA provider (1=Modem Processor, 0=Application Processor)
  77. NMEA_PROVIDER=0
  78. # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE)
  79. SGLTE_TARGET=1
  80.  
  81. ##################################################
  82. # Select Positioning Protocol on A-GLONASS system
  83. ##################################################
  84. # 0x1: RRC CPlane
  85. # 0x2: RRLP UPlane
  86. # 0x4: LLP Uplane
  87. A_GLONASS_POS_PROTOCOL_SELECT = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement