sap.conf 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. ################################
  2. # Sensor Settings
  3. ################################
  4. #The following parameters are optional.
  5. #Internal defaults support MEMS sensors
  6. #native to most handset devices.
  7. #Device specific sensor characterization
  8. #for improved performance is possible as
  9. #described in SAP application notes.
  10. #GYRO_BIAS_RANDOM_WALK=
  11. #ACCEL_RANDOM_WALK_SPECTRAL_DENSITY=
  12. #ANGLE_RANDOM_WALK_SPECTRAL_DENSITY=
  13. #RATE_RANDOM_WALK_SPECTRAL_DENSITY=
  14. #VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
  15. # DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
  16. # 4 - Debug, 5 - Verbose
  17. # If DEBUG_LEVEL is commented, Android's logging levels will be used
  18. DEBUG_LEVEL = 0
  19. # Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
  20. # used in loc_eng_reinit
  21. SENSOR_ACCEL_BATCHES_PER_SEC=2
  22. SENSOR_ACCEL_SAMPLES_PER_BATCH=5
  23. SENSOR_GYRO_BATCHES_PER_SEC=2
  24. SENSOR_GYRO_SAMPLES_PER_BATCH=5
  25. # Sensor Sampling Rate Parameters for High-Data Rate Filter (should be greater than 0)
  26. SENSOR_ACCEL_BATCHES_PER_SEC_HIGH=4
  27. SENSOR_ACCEL_SAMPLES_PER_BATCH_HIGH=25
  28. SENSOR_GYRO_BATCHES_PER_SEC_HIGH=4
  29. SENSOR_GYRO_SAMPLES_PER_BATCH_HIGH=25
  30. # Sensor Control Mode (0=AUTO, 1=FORCE_ON, 2=MODEM_DEFAULT)
  31. # used in loc_eng_reinit
  32. SENSOR_CONTROL_MODE=2
  33. # Bit mask used to define which sensor algorithms are used.
  34. # Setting each bit has the following definition:
  35. # 0x1 - DISABLE_INS_POSITIONING_FILTER
  36. # 0x0 - ENABLE_INS_POSITIONING_FILTER
  37. SENSOR_ALGORITHM_CONFIG_MASK=0x0
  38. #Vehicle Network Provider configuration
  39. #Service configuration strings
  40. #The number before colon in VN_X items defines version of the format of the rest of the string
  41. #VN_ACCEL_CFG=0:5
  42. #VN_GYRO_CFG=0:5.5
  43. #VN_ODOMETRY_CFG=0:2,4.5
  44. ################################################
  45. # QDR3 configurations #
  46. ################################################
  47. #VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
  48. #VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
  49. VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8
  50. VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
  51. ################################################
  52. # QDR2-Gyro configurations #
  53. ################################################
  54. #VN_GYRO_CFG=1:555,0,1,0,0,0,0,-6.5,6.6066,-6.5,-1.00,2,6.607,6.6068,0,0,16,0.0002,0,16,0.0002,0,16,0.0002
  55. #VN_SPEED_CFG=1:555,0,0,1,2,1,0.01,0,56,8,48,8
  56. #VN_GEAR_CFG=1:555,16,4,0,1,1,9,0,1,2,3,4,5,6,7,8
  57. ################################################
  58. # QDR2-DWT configurations #
  59. ################################################
  60. #VN_SPEED_CFG=1:555,22,1,2,1,1,1,0,8,8,23,1,2,0,1,0,8,8,23,1
  61. #VN_GEAR_CFG=1:555,12,4,16,14,16,8,1,2,3,4,5,6,7,8
  62. #VN_DWS_CFG=1:555,0,0,1,3,1,1,0,0,8,0,0,8,8,0,0,16,8,0,0,24,8,0,0
  63. #VN_GYRO_CFG=1:555,40,16,1.0,40,16,1.0,40,16,1.0
  64. #####################################################################################
  65. # VNW service batching configuration strings #
  66. # VNW provider will initialize default type as Time based batching #
  67. # Each service batch value is configured to be 100 #
  68. # VN_ACCEL_CFG_BATCH_VALUE will be treated as time in Ms if VN_CFG_BATCH_TYPE #
  69. # is set to time based batching #
  70. # VN_ACCEL_CFG_BATCH_VALUE will be treated as sample count if VN_CFG_BATCH_TYPE #
  71. # is set to count based batching #
  72. # Uncomment and update batch time /sample count as per selected batching type #
  73. #####################################################################################
  74. # Batching type
  75. # 1 - Time based (default)
  76. # 2 - Count based
  77. VN_CFG_BATCH_TYPE=1
  78. #Vehicle Accel batching value, it can either accept time in milli seconds or sample count
  79. #VN_ACCEL_CFG_BATCH_VALUE=100
  80. #Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
  81. VN_GYRO_CFG_BATCH_VALUE=50
  82. #Vehicle Odo batching value, it can either accept time in milli seconds or sample count
  83. #VN_ODOMETRY_CFG_BATCH_VALUE=100
  84. #Vehicle Speed batching value, it can either accept time in milli seconds or sample count
  85. VN_SPEED_CFG_BATCH_VALUE=50
  86. #Vehicle Gear batching value, it can either accept time in milli seconds or sample count
  87. VN_GEAR_CFG_BATCH_VALUE=50
  88. #Vehicle DWS batching value, it can either accept time in milli seconds or sample count
  89. #VN_DWS_CFG_BATCH_VALUE=100
  90. ####################################################################################
  91. #Procesors clock ratio: AP and CAN bus microcontroller
  92. ################################################
  93. # QDR3 configurations #
  94. ################################################
  95. VN_PROC_CLOCK_RATIO=1.0
  96. ################################################
  97. # QDR2-DWT OR QDR2-Gyro configurations #
  98. ################################################
  99. #VN_PROC_CLOCK_RATIO = 1.0
  100. # Time source used by Sensor HAL
  101. # Setting this value controls accuracy of location sensor services.
  102. # 0 - Unknown
  103. # 1 - CLOCK_BOOTTIME
  104. # 2 - CLOCK_MONOTONIC
  105. # 3 - CLOCK_REALTIME
  106. # 4 - CLOCK_BOOTTIME using Alarm timer interface
  107. NDK_PROVIDER_TIME_SOURCE=1
  108. # Sensor Batching Configuration
  109. # 0 - Time based
  110. # 1 - Fixed count based
  111. # 2 - Variable count based
  112. COUNT_BASED_BATCHING=1
  113. SYNC_ONCE=0
  114. # Vehicle Network Data optimization
  115. # Default value: 0
  116. # Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED)
  117. # Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS)
  118. # Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR)
  119. VN_ENABLE_DATA_OPTIMIZATION=0x100000
  120. # Vehicle Network Data Routing time interval
  121. # This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set
  122. # Default value: 5000 msec
  123. VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000
  124. #Sensor HAL Provider Configuration HAL Library name including path
  125. ################################################
  126. # #
  127. # Configuration for BMI 160 Sensor #
  128. # #
  129. ################################################
  130. #SENSOR_TYPE=2
  131. #SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
  132. ################################################
  133. # #
  134. # Configuration for ASM330 Sensor #
  135. # #
  136. ################################################
  137. SENSOR_TYPE=1
  138. SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
  139. ################################################
  140. # #
  141. # Configuration for IAM20680 Sensor #
  142. # #
  143. ################################################
  144. #SENSOR_TYPE=3
  145. #SENSOR_HAL_LIB_PATH=/usr/lib/libiam20680sensors.so.1
  146. ################################################
  147. # #
  148. # Configuration for SMI130 Sensor #
  149. # #
  150. ################################################
  151. #SENSOR_TYPE=4
  152. #SENSOR_HAL_LIB_PATH=/usr/lib/libsmi130sensors.so.1
  153. ################################################
  154. # #
  155. # Configuration for SMI230 Sensor #
  156. # #
  157. ################################################
  158. #SENSOR_TYPE=5
  159. #SENSOR_HAL_LIB_PATH=/usr/lib/libsmi230sensors.so.1