sm7325-common: gps: update configs from RRG31.Q3-23-85

This commit is contained in:
SGCMarkus 2022-03-26 23:27:17 +01:00
commit 616168edec
6 changed files with 227 additions and 153 deletions

View file

@ -13,6 +13,10 @@
#RATE_RANDOM_WALK_SPECTRAL_DENSITY=
#VELOCITY_RANDOM_WALK_SPECTRAL_DENSITY=
# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
# If DEBUG_LEVEL is commented, Android's logging levels will be used
DEBUG_LEVEL = 0
# Sensor Sampling Rate Parameters for Low-Data Rate Filter (should be greater than 0)
# used in loc_eng_reinit
SENSOR_ACCEL_BATCHES_PER_SEC=2
@ -33,7 +37,7 @@ SENSOR_CONTROL_MODE=2
# Setting each bit has the following definition:
# 0x1 - DISABLE_INS_POSITIONING_FILTER
# 0x0 - ENABLE_INS_POSITIONING_FILTER
SENSOR_ALGORITHM_CONFIG_MASK=0x1
SENSOR_ALGORITHM_CONFIG_MASK=0x0
#Vehicle Network Provider configuration
@ -46,7 +50,9 @@ SENSOR_ALGORITHM_CONFIG_MASK=0x1
################################################
# QDR3 configurations #
################################################
VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
#VN_SPEED_CFG=1:131,5,8,1,2,3,1,1,9,2,14,2
#VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
VN_SPEED_CFG=1:777,0,0,1,3,1,0.002778,0,40,8,32,8
VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
################################################
@ -77,22 +83,22 @@ VN_GEAR_CFG=1:422,20,4,0,4,1,9,0,1,2,3,4,5,6,7,8
# Batching type
# 1 - Time based (default)
# 2 - Count based
#VN_CFG_BATCH_TYPE=1
VN_CFG_BATCH_TYPE=1
#Vehicle Accel batching value, it can either accept time in milli seconds or sample count
#VN_ACCEL_CFG_BATCH_VALUE=100
#Vehicle Gyro batching value, it can either accept time in milli seconds or sample count
#VN_GYRO_CFG_BATCH_VALUE=100
VN_GYRO_CFG_BATCH_VALUE=50
#Vehicle Odo batching value, it can either accept time in milli seconds or sample count
#VN_ODOMETRY_CFG_BATCH_VALUE=100
#Vehicle Speed batching value, it can either accept time in milli seconds or sample count
#VN_SPEED_CFG_BATCH_VALUE=100
VN_SPEED_CFG_BATCH_VALUE=50
#Vehicle Gear batching value, it can either accept time in milli seconds or sample count
#VN_GEAR_CFG_BATCH_VALUE=100
VN_GEAR_CFG_BATCH_VALUE=50
#Vehicle DWS batching value, it can either accept time in milli seconds or sample count
#VN_DWS_CFG_BATCH_VALUE=100
@ -125,22 +131,34 @@ NDK_PROVIDER_TIME_SOURCE=1
COUNT_BASED_BATCHING=1
SYNC_ONCE=0
# Vehicle Network Data optimization
# Default value: 0
# Value 0x40000 - Speed(bit 18 eSLIM_SERVICE_VEHICLE_SPEED)
# Value 0x80000 - Speed(bit 19 eSLIM_SERVICE_VEHICLE_DWS)
# Value 0x100000 - Speed(bit 20 eSLIM_SERVICE_VEHICLE_GEAR)
VN_ENABLE_DATA_OPTIMIZATION=0x100000
# Vehicle Network Data Routing time interval
# This is applicable only if VN_ENABLE_DATA_OPTIMIZATION value is set
# Default value: 5000 msec
VN_DATA_ROUTING_TIME_INTERVAL_MSEC=3000
#Sensor HAL Provider Configuration HAL Library name including path
################################################
# #
# Configuration for BMI 160 Sensor #
# #
################################################
SENSOR_TYPE=2
SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
#SENSOR_TYPE=2
#SENSOR_HAL_LIB_PATH=/usr/lib/libbmi160sensors.so.1
################################################
# #
# Configuration for ASM330 Sensor #
# #
################################################
#SENSOR_TYPE=1
#SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
SENSOR_TYPE=1
SENSOR_HAL_LIB_PATH=/usr/lib/libasm330sensors.so.1
################################################