From 616168edecc379e2da0356b4a16dcf606db2638d Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Sat, 26 Mar 2022 23:27:17 +0100 Subject: [PATCH] sm7325-common: gps: update configs from RRG31.Q3-23-85 --- gps/etc/apdr.conf | 137 +++++++++++------------- gps/etc/gnss_antenna_info.conf | 3 +- gps/etc/gps.conf | 185 +++++++++++++++++++++++---------- gps/etc/izat.conf | 13 +-- gps/etc/lowi.conf | 6 +- gps/etc/sap.conf | 38 +++++-- 6 files changed, 228 insertions(+), 154 deletions(-) diff --git a/gps/etc/apdr.conf b/gps/etc/apdr.conf index ce5ba78..5a9a922 100644 --- a/gps/etc/apdr.conf +++ b/gps/etc/apdr.conf @@ -24,36 +24,6 @@ # # - -###################################### -# # -# Default Configuration # -# (GNSS only,QDR Disabled) # -# # -# For QDR enablement, comment # -# this section and enabled # -# either QDR3 OR # -# QDR2-DWT OR QDR2-Gyro related # -# configuration section in below. # -# # -###################################### - -SENSOR_SERVICE = accel -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - -SENSOR_SERVICE = gyro -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - -SENSOR_SERVICE = vehicle_gear -SENSOR_PROVIDER = native -SENSOR_RATE = 100 -SENSOR_SAMPLES = 1 - - ###################################### # # # QDR3 Configuration # @@ -66,37 +36,66 @@ SENSOR_SAMPLES = 1 # # ###################################### # -#SENSOR_SERVICE = accel -#SENSOR_PROVIDER = native -#SENSOR_RATE = 10 -#SENSOR_SAMPLES = 10 +SENSOR_SERVICE = accel +SENSOR_PROVIDER = native +SENSOR_RATE = 10 +SENSOR_SAMPLES = 10 # -#SENSOR_SERVICE = vehicle_speed -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 +SENSOR_SERVICE = vehicle_speed +SENSOR_PROVIDER = native +SENSOR_RATE = 100 +SENSOR_SAMPLES = 1 # -#SENSOR_SERVICE = gyro -#SENSOR_PROVIDER = native -#SENSOR_RATE = 10 -#SENSOR_SAMPLES = 10 +SENSOR_SERVICE = gyro +SENSOR_PROVIDER = native +SENSOR_RATE = 10 +SENSOR_SAMPLES = 10 # -#SENSOR_SERVICE = vehicle_gear -#SENSOR_PROVIDER = native -#SENSOR_RATE = 100 -#SENSOR_SAMPLES = 1 +SENSOR_SERVICE = vehicle_gear +SENSOR_PROVIDER = native +SENSOR_RATE = 100 +SENSOR_SAMPLES = 1 +# +SENSOR_SERVICE = accel_temp +SENSOR_PROVIDER = native +SENSOR_RATE = 1 +SENSOR_SAMPLES = 1 # # -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 ##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS -#QDR_DYNAMIC_LOADING = 1 -##Enable/disable sensor data batching feature -#QDR_BATCHING_ENABLED = 2 +QDR_DYNAMIC_LOADING = 1 +##Specify CAN sensor type: Valid Options: 14(ODO), 2(ODO_DWT), 3(ODO_DWS) +QDR_CAN_TYPE = 14 ##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 -##Sensor dispatch threshold declaration -#QDR_SENSDISPATCH_MS = 30 +QDR_REPORTING_OFFSET = 20 +# +##QDR_ENABLE_QG shall be set as 1 +QDR_ENABLE_QG = 1 +#GEAR Optimisation +QG_GEAR_ON_CHANGE=1 +# + +##Vehicle Sensor Configuration (CAN data availability) +##QDR_VEH_SENSOR_CONFIG: +## 0: VEHICLE_SENSOR_PRESENT - Vehicle Sensor is available (DEFAULT) +## 1: VEHICLE_SENSOR_OPTIONAL - Vehicle Sensor may or may not be present. +#QDR_VEH_SENSOR_CONFIG = 0 + +##Select Wheel set (E.g.: Front two wheels, Rear two wheels OR All four wheels) +##To be used for differential wheel tick OR speed service. +##This configuration is applicable when QDR_CAN_TYPE configured as +##ODO_DWS(3) or ODO_DWT(2). +##Value "0": Use Front two wheels +##Value "1": Use Rear two wheels +##Value "2": Use All four wheels +#QG_DRIVE_WHEEL_FW_RW_AW = 2 +##Max Wheel tick value above which wheel tick rolls over +##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) +#QG_DWT_MAX_WHEEL_TICK_COUNT = 255.0 +##Configure Wheel constant for DWT based below equation +##(2 * pi * WHEEL_RADIUS / Pulses Per revolution) +##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) +#QG_DWT_WHEEL_CONSTANT = 0.044 # ###################################### @@ -137,33 +136,17 @@ SENSOR_SAMPLES = 1 #GNSS_MSR_STATISTIC_ENABLED = 3 #GNSS_MSR_STATISTIC_PRNTCNT = 10 # -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 ##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS #QDR_DYNAMIC_LOADING = 3 +##Enable/disable sensor data flashback feature +#QDR_FLASHBACK_ENABLED = 0 ##Enable/disable sensor data batching feature #QDR_BATCHING_ENABLED = 0 ##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 +#QDR_REPORTING_OFFSET = 20 ##Sensor dispatch threshold declaration #QDR_SENSDISPATCH_MS = 30 -##QDR_ENABLE_QG shall be set as 1 -#QDR_ENABLE_QG = 1 -##Select Wheel set (E.g.: Front two wheels, Rear two wheels OR All four wheels) -##To be used for differential wheel tick OR speed service. -##This configuration is applicable when QDR_CAN_TYPE configured as -##ODO_DWS(3) or ODO_DWT(2). -##Value "0": Use Front two wheels -##Value "1": Use Rear two wheels -##Value "2": Use All four wheels -#QG_DRIVE_WHEEL_FW_RW_AW = 2 -##Max Wheel tick value above which wheel tick rolls over -##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) -#QG_DWT_MAX_WHEEL_TICK_COUNT = 255.0 -##Configure Wheel constant for DWT based below equation -##(2 * pi * WHEEL_RADIUS / Pulses Per revolution) -##This configuration is applicable when QDR_CAN_TYPE configured as ODO_DWT(2) -#QG_DWT_WHEEL_CONSTANT = 0.044 + ###################################### # # @@ -192,14 +175,14 @@ SENSOR_SAMPLES = 1 #SENSOR_RATE = 100 #SENSOR_SAMPLES = 1 # -##Enable/disable sensor data flashback feature -#QDR_FLASHBACK_ENABLED = 0 ##Configure QDR library to be loaded 1: QDR3 2: QDR2-GYRO 3: QDR2-DWS #QDR_DYNAMIC_LOADING = 2 +##Enable/disable sensor data flashback feature +#QDR_FLASHBACK_ENABLED = 0 ##Enable/disable sensor data batching feature #QDR_BATCHING_ENABLED = 0 ##Reporting offset before PPS boundary -#QDR_REPORTING_OFFSET = 0 +#QDR_REPORTING_OFFSET = 20 ##Sensor dispatch threshold declaration #QDR_SENSDISPATCH_MS = 30 # diff --git a/gps/etc/gnss_antenna_info.conf b/gps/etc/gnss_antenna_info.conf index e037daa..79a2aef 100644 --- a/gps/etc/gnss_antenna_info.conf +++ b/gps/etc/gnss_antenna_info.conf @@ -80,8 +80,7 @@ # NUMBER_OF_ROWS_SGC_ and NUMBER_OF_COLUMNS_SGC_ represent the number of # rows/columns for signal gain corrections -# ANTENNA_INFO_VECTOR_SIZE must be non zero if antenna corrections are sent -# ANTENNA_INFO_VECTOR_SIZE = 2 +ANTENNA_INFO_VECTOR_SIZE = 2 CARRIER_FREQUENCY_0 = 1575.42 diff --git a/gps/etc/gps.conf b/gps/etc/gps.conf index 9a8a5a6..be27e52 100644 --- a/gps/etc/gps.conf +++ b/gps/etc/gps.conf @@ -1,43 +1,24 @@ -#hardware/qcom/gps/loc_api/conf/gps.conf - -NI_SUPL_DENY_ON_NFW_LOCKED = 1 - -##################################### -# proxyAppPackageName -##################################### -# This is a string that is sent to the framework -# in nfwNotifyCb callback -# Add NFW package name -PROXY_APP_PACKAGE_NAME = com.motorola.nfwlocationattribution - -#Version check for XTRA -#DISABLE = 0 -#AUTO = 1 -#XTRA2 = 2 -#XTRA3 = 3 -XTRA_VERSION_CHECK=0 - # Error Estimate # _SET = 1 # _CLEAR = 0 ERR_ESTIMATE=0 #NTP server -NTP_SERVER=time.izatcloud.net +NTP_SERVER=time.xtracloud.net #XTRA CA path -XTRA_CA_PATH=/usr/lib/ssl/certs +XTRA_CA_PATH=/usr/lib/ssl-1.1/certs # 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 = 2 +DEBUG_LEVEL = 3 # Intermediate position report, 1=enable, 0=disable -#INTERMEDIATE_POS=0 +INTERMEDIATE_POS=0 # supl version 1.0 -#SUPL_VER=0x10000 +SUPL_VER=0x10000 # Emergency SUPL, 1=enable, 0=disable #SUPL_ES=1 @@ -60,7 +41,7 @@ DEBUG_LEVEL = 2 # MSA = 0x04 # ON_DEMAND_TIME = 0x10 # default = ON_DEMAND_TIME | MSA | MSB | SCHEDULING -CAPABILITIES=0x77 +CAPABILITIES=0x17 # Accuracy threshold for intermediate positions # less accurate positions are ignored, 0 for passing all positions @@ -91,7 +72,7 @@ CAPABILITIES=0x77 #AGPS_CERT_WRITABLE_MASK=0 #################################### - # LTE Positioning Profile Settings +# LTE Positioning Profile Settings #################################### # LPP_PROFILE is a bit mask(unit8 in HAL interface) # 0: Enable RRLP on LTE(Default) @@ -107,22 +88,57 @@ CAPABILITIES=0x77 # TMO = 0x32 (50) LPP CP, RRLP UP, LPPe CP DBH & WLAN, LPPe CP UBP if product support pressure sensor # ATT = 0x33 (51) LPP CP, LPP UP, LPPe CP DBH & WLAN, LPPe CP UBP if product support pressure sensor # VzW = 0xF3 (243) LPP CP, LPP UP, LPPe CP DBH & WLAN, LPPe UP DBH & WLAN, LPPe CP & UP UBP if product support pressure sensor -#LPP_PROFILE = 2 + +LPP_PROFILE = 2 #################################### #Datum Type #################################### # 0: WGS-84 # 1: PZ-90 -#DATUM_TYPE = 0 +DATUM_TYPE = 0 ################################ # EXTRA SETTINGS ################################ # NMEA provider (1=Modem Processor, 0=Application Processor) -#NMEA_PROVIDER=0 +NMEA_PROVIDER=0 + +# Customized NMEA GGA fix quality that can be used to tell +# whether SENSOR contributed to the fix. +# +# When this configuration item is not enabled (set to any value that is not 1), +# GGA fix quality conforms to NMEA standard spec as below: +# PPP/DGNSS/SBAS correction fix w/ or w/o sensor: 2 +# RTK fixed fix w/ or w/o sensor: 4 +# RTK float fix w/ or w/o sensor: 5 +# SPE fix w/ or w/o sensor: 1 +# Sensor dead reckoning fix: 6 +# +# When this configuration is enabled (set to 1), GGA fix quality +# will be output as below: +# PPP fix w/o sensor: 59, w/ sensor: 69 +# DGNSS/SBAS correction fix w/o sensor: 2, w/ sensor: 62 +# RTK fixed fix w/o sensor: 4, w/ sensor: 64 +# RTK float fix w/o sensor: 5, w/ sensor: 65, +# SPE fix w/o sensor: 1, and w/ sensor: 61 +# Sensor dead reckoning fix: 6 +# +# any value that is not 1 - disabled +# 1 - enabled +CUSTOM_NMEA_GGA_FIX_QUALITY_ENABLED = 0 + +################################ +# NMEA Reporting Rate Config, valid only when NMEA_PROVIDER is set to "0" +################################ +# NMEA Reporting Rate +# Set it to "1HZ" for 1Hz NMEA Reporting +# Set it to "NHZ" for NHz NMEA Reporting +#Default : NHZ (overridden by position update rate if set to lower rates) +NMEA_REPORT_RATE=NHZ + # Mark if it is a SGLTE target (1=SGLTE, 0=nonSGLTE) -#SGLTE_TARGET=0 +SGLTE_TARGET=0 ################################################## # Select Positioning Protocol on A-GLONASS system @@ -130,8 +146,8 @@ CAPABILITIES=0x77 # 0x1: RRC CPlane # 0x2: RRLP UPlane # 0x4: LLP Uplane -#A_GLONASS_POS_PROTOCOL_SELECT = 0 -# +A_GLONASS_POS_PROTOCOL_SELECT = 0 + ################################################## # Select technology for LPPe Control Plane ################################################## @@ -165,7 +181,7 @@ CAPABILITIES=0x77 # A_GLONASS_POS_PROTOCOL_SELECT # 0: disable # 1: enable -#AGPS_CONFIG_INJECT = 1 +AGPS_CONFIG_INJECT = 1 ################################################## # GNSS settings for automotive use cases @@ -179,17 +195,7 @@ CAPABILITIES=0x77 # default : 10 # AP time stamp uncertainty, until GNSS receiver # is able to acquire better timing information -#AP_TIMESTAMP_UNCERTAINTY = 10 - -################################################## -# QDR engine availability status -################################################## -# 0 : NO QDR (default) -# 1 : QDR enabled -# This settings enables QDR Configuration for -# automotive use case, if enabled then -# DR_AP_Service needs to be enabled in izat.conf -#EXTERNAL_DR_ENABLED = 0 +AP_TIMESTAMP_UNCERTAINTY = 10 ##################################### # DR_SYNC Pulse Availability @@ -199,22 +205,22 @@ CAPABILITIES=0x77 # This configuration enables the driver to make use # of PPS events generated by DR_SYNC pulse # Standard Linux PPS driver needs to be enabled -#DR_SYNC_ENABLED = 0 +DR_SYNC_ENABLED = 0 ##################################### # PPS Device name ##################################### -#PPS_DEVICENAME = /dev/pps0 +PPS_DEVICENAME = /dev/pps0 ##################################### # Ignore PPS at Startup and after long outage ##################################### -#IGNORE_PPS_PULSE_COUNT = 1 +IGNORE_PPS_PULSE_COUNT = 1 ##################################### # Long GNSS RF outage in seconds ##################################### -#GNSS_OUTAGE_DURATION = 10 +GNSS_OUTAGE_DURATION = 10 ##################################### # AP Clock Accuracy @@ -222,20 +228,20 @@ CAPABILITIES=0x77 # Quality of APPS processor clock (in PPM). # Value specified is used for calculation of # APPS time stamp uncertainty -#AP_CLOCK_PPM = 100 +AP_CLOCK_PPM = 100 ##################################### # MAX ms difference to detect missing pulse ##################################### # Specifies time threshold in ms to validate any missing PPS pulses -#MISSING_PULSE_TIME_DELTA = 900 +MISSING_PULSE_TIME_DELTA = 900 ##################################### # Propagation time uncertainty ##################################### # This settings enables time uncertainty propagation # logic incase of missing PPS pulse -#PROPAGATION_TIME_UNCERTAINTY = 1 +PROPAGATION_TIME_UNCERTAINTY = 1 ####################################### # APN / IP Type Configuration @@ -297,18 +303,89 @@ MODEM_TYPE = 1 # other position engines. #POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0 +##################################### +# proxyAppPackageName +##################################### +# This is a string that is sent to the framework +# in nfwNotifyCb callback +PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation + ##################################### # CP_MTLR_ES ##################################### # CP MTLR ES, 1=enable, 0=disable -#CP_MTLR_ES=0 +CP_MTLR_ES=0 ################################################## # GNSS_DEPLOYMENT ################################################## # 0 : Enable QTI GNSS (default) # 1 : Enable QCSR SS5 -# This setting use to select between QTI GNSS -# and QCSR SS5 hardware receiver. +# 2 : Enable PDS API +# This setting use to select between QTI GNSS, +# QCSR SS5 hardware receiver, and PDS API. # By default QTI GNSS receiver is enabled. # GNSS_DEPLOYMENT = 0 + +################################################## +## LOG BUFFER CONFIGURATION +################################################## +#LOG_BUFFER_ENABLED, 1=enable, 0=disable +#*_LEVEL_TIME_DEPTH, maximum time depth of level * +#in log buffer, unit is second +#*_LEVEL_MAX_CAPACITY, maximum numbers of level * +#log print sentences in log buffer +LOG_BUFFER_ENABLED = 0 +E_LEVEL_TIME_DEPTH = 600 +E_LEVEL_MAX_CAPACITY = 50 +W_LEVEL_TIME_DEPTH = 500 +W_LEVEL_MAX_CAPACITY = 100 +I_LEVEL_TIME_DEPTH = 400 +I_LEVEL_MAX_CAPACITY = 200 +D_LEVEL_TIME_DEPTH = 30 +D_LEVEL_MAX_CAPACITY = 300 +V_LEVEL_TIME_DEPTH = 200 +V_LEVEL_MAX_CAPACITY = 400 + +################################################## +# Allow buffer diag log packets when diag memory allocation +# fails during boot up time. +################################################## +BUFFER_DIAG_LOGGING = 1 + +####################################### +# NTRIP CLIENT LIBRARY NAME +####################################### +# NTRIP_CLIENT_LIB_NAME = + +################################################## +# Correction Data Framework settings +# Default values: +# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM +# CDFW_INJECT_DATA_INTERVAL = 600000 //10 mins +# CDFW_RTCM_MESSAGE_INTERVAL = 1000 //1 second +# +# If multiple sources coexist on a PL, +# the prorioty sequence can be set by the integer number. +# PRIORITY_1 is higher than PRIORITY_2, for example, +# CDFW_SOURCE_PRIORITY_1 = INTERNAL_1 RTCM +# CDFW_SOURCE_PRIORITY_2 = CV2X RTCM +################################################## + +################################################## +# RF LOSS +# The loss in 0.1 dbHz from the C/N0 at the antenna port +# These values must be configured by OEM if not +# supported in QMI LOC message +# There is one entry for each signal type +################################################## +RF_LOSS_GPS = 0 +RF_LOSS_GPS_L5 = 0 +RF_LOSS_GLO_LEFT = 0 +RF_LOSS_GLO_CENTER = 0 +RF_LOSS_GLO_RIGHT = 0 +RF_LOSS_BDS = 0 +RF_LOSS_BDS_B2A = 0 +RF_LOSS_GAL = 0 +RF_LOSS_GAL_E5 = 0 +RF_LOSS_NAVIC = 0 diff --git a/gps/etc/izat.conf b/gps/etc/izat.conf index f6a3ad6..f5252c3 100644 --- a/gps/etc/izat.conf +++ b/gps/etc/izat.conf @@ -2,7 +2,7 @@ # Log verbosity control for izat modules ######################################### # OFF = 0, ERROR = 1, WARNING = 2, INFO = 3, DEBUG = 4, VERBOSE = 5 -IZAT_DEBUG_LEVEL = 5 +IZAT_DEBUG_LEVEL = 2 ################################################## # Select WIFI Wait Timeout value in seconds for SUPL @@ -16,13 +16,6 @@ WIFI_WAIT_TIMEOUT_SELECT = 0 ################################################## LPPE_SRN_DATA_SCAN_INJECT_TIME=2 -################################################## -# Identify this target as OTA updated or new -# 0 - New target -# 1 - OTA updated -################################################## -OTA_UPDATED_TARGET=0 - ################################ # NLP Settings ################################ @@ -100,6 +93,7 @@ GTP_PRIVACY_RETRY_INTERVAL = 86400 # DISABLED # LEGACY_WWAN # SDK (WWAN not available for Modems before LocTech 10.0) +# SDK_WIFI (WWAN provided by legacy Modem) GTP_MODE=DISABLED #GTP_WAA valid modes: @@ -111,6 +105,7 @@ GTP_WAA=DISABLED # DISABLED # BASIC # PREMIUM +# PREMIUM_ENV_AIDING # MODEM_DEFAULT SAP=MODEM_DEFAULT @@ -271,7 +266,7 @@ VENDOR_ENHANCED_PROCESS=1 PROCESS_NAME=engine-service PROCESS_ARGUMENT=PPE libepsimulator.so PROCESS_STATE=DISABLED -PROCESS_GROUPS=gps diag inet oem_2901 +PROCESS_GROUPS=gps diag inet qwes oem_2901 system PREMIUM_FEATURE=0 IZAT_FEATURE_MASK=0 PLATFORMS=all diff --git a/gps/etc/lowi.conf b/gps/etc/lowi.conf index 83ab1bf..ddf38d3 100644 --- a/gps/etc/lowi.conf +++ b/gps/etc/lowi.conf @@ -1,6 +1,6 @@ #*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* # -# LOWI Config file - default +# LOWI Config file - lahaina # # GENERAL DESCRIPTION # This file contains the config params for LOWI @@ -24,4 +24,6 @@ # EL_LOG_OFF = 0, EL_ERROR = 1, EL_WARNING = 2, EL_INFO = 3, EL_DEBUG = 4, EL_VERBOSE = 5, EL_LOG_ALL = 100 LOWI_LOG_LEVEL = 4 LOWI_USE_LOWI_LP = 0 - +LOWI_HE_RTT_SUPPORT = 1 +LOWI_USE_NLMSG_FOR_CAPS = 1 +LOWI_RTT_WEIGHTED_MEAN = 1 diff --git a/gps/etc/sap.conf b/gps/etc/sap.conf index a077b3c..e8d27b7 100644 --- a/gps/etc/sap.conf +++ b/gps/etc/sap.conf @@ -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 ################################################