diff --git a/configs/gps/apdr.conf b/configs/gps/apdr.conf index ce5ba78..5a9a922 100644 --- a/configs/gps/apdr.conf +++ b/configs/gps/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/configs/gps/gnss_antenna_info.conf b/configs/gps/gnss_antenna_info.conf new file mode 100644 index 0000000..79a2aef --- /dev/null +++ b/configs/gps/gnss_antenna_info.conf @@ -0,0 +1,134 @@ +################################### +##### ANTENNA INFORMATION ##### +################################### + +################################### +# ANTENNA INFO VECTOR SIZE +################################### +# The number of antenna info +# structures in the vector. Each +# entry in this vector is a structure +# with the following elements: +# +# - CARRIER_FREQUENCY +# - PC_OFFSET +# - PC_VARIATION_CORRECTION +# - PC_VARIATION_CORRECTION_UNC +# - SIGNAL_GAIN_CORRECTION +# - SIGNAL_GAIN_CORRECTION_UNC +# +# Notes: +# CARRIER_FREQUENCY +# The carrier frequency in MHz. +# +# PC = PHASE CENTER +# PC_OFFSET is a structure with six +# elements: x, y, z and their associated uncertainties +# Phase center offset (PCO) is defined with +# respect to the origin of the Android sensor coordinate system, e.g., +# center of primary screen for mobiles +# +# PC_VARIATION_CORRECTION +# 2D vectors representing the phase center variation (PCV) corrections, +# in millimeters, at regularly spaced azimuthal angle (theta) and zenith angle +# (phi). The PCV correction is added to the phase measurement to obtain the +# corrected value. +# The azimuthal angle, theta, is defined with respect to the X axis of the +# Android sensor coordinate system, increasing toward the Y axis. The zenith +# angle, phi, is defined with respect to the Z axis of the Android Sensor +# coordinate system, increasing toward the X-Y plane. +# Each row vector (outer vectors) represents a fixed theta. The first row +# corresponds to a theta angle of 0 degrees. The last row corresponds to a +# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular +# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows). +# The columns (inner vectors) represent fixed zenith angles, beginning at 0 +# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular +# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1). +# +# PC_VARIATION_CORRECTION_UNC +# 2D vectors of 1-sigma uncertainty in millimeters associated with the PCV +# correction values. +# +# SIGNAL_GAIN_CORRECTION +# 2D vectors representing the signal gain corrections at regularly spaced +# azimuthal angle (theta) and zenith angle (phi). The values are calculated or +# measured at the antenna feed point without considering the radio and receiver +# noise figure and path loss contribution, in dBi, i.e., decibel over isotropic +# antenna with the same total power. The signal gain correction is added the +# signal gain measurement to obtain the corrected value. +# The azimuthal angle, theta, is defined with respect to the X axis of the +# Android sensor coordinate system, increasing toward the Y axis. The zenith +# angle, phi, is defined with respect to the Z axis of the Android Sensor +# coordinate system, increasing toward the X-Y plane. +# Each row vector (outer vectors) represents a fixed theta. The first row +# corresponds to a theta angle of 0 degrees. The last row corresponds to a +# theta angle of (360 - deltaTheta) degrees, where deltaTheta is the regular +# spacing between azimuthal angles, i.e., deltaTheta = 360 / (number of rows). +# The columns (inner vectors) represent fixed zenith angles, beginning at 0 +# degrees and ending at 180 degrees. They are separated by deltaPhi, the regular +# spacing between zenith angles, i.e., deltaPhi = 180 / (number of columns - 1). +# +# SIGNAL_GAIN_CORRECTION_UNC +# 2D vectors of 1-sigma uncertainty in dBi associated with the signal +# gain correction values. +# +# The number of rows and columns could be the same for PC variation correction +# and signal gain corrections, or could be different +# If the former then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ are specified once +# only, if the latter then NUMBER_OF_ROWS_ and NUMBER_OF_COLUMNS_ represent +# the number of rows/columns for PC variation correction and +# NUMBER_OF_ROWS_SGC_ and NUMBER_OF_COLUMNS_SGC_ represent the number of +# rows/columns for signal gain corrections + +ANTENNA_INFO_VECTOR_SIZE = 2 + +CARRIER_FREQUENCY_0 = 1575.42 + +PC_OFFSET_0 = 1.2 0.1 3.4 0.2 5.6 0.3 + +NUMBER_OF_ROWS_0 = 3 +NUMBER_OF_COLUMNS_0 = 4 + +PC_VARIATION_CORRECTION_0_ROW_0 = 11.22 33.44 55.66 77.88 +PC_VARIATION_CORRECTION_0_ROW_1 = 10.2 30.4 50.6 70.8 +PC_VARIATION_CORRECTION_0_ROW_2 = 12.2 34.4 56.6 78.8 + +PC_VARIATION_CORRECTION_UNC_0_ROW_0 = 0.1 0.2 0.3 0.4 +PC_VARIATION_CORRECTION_UNC_0_ROW_1 = 1.1 1.2 1.3 1.4 +PC_VARIATION_CORRECTION_UNC_0_ROW_2 = 2.1 2.2 2.3 2.4 + +SIGNAL_GAIN_CORRECTION_0_ROW_0 = 9.8 8.7 7.6 6.5 +SIGNAL_GAIN_CORRECTION_0_ROW_1 = 5.4 4.3 3.2 2.1 +SIGNAL_GAIN_CORRECTION_0_ROW_2 = 1.3 2.4 3.5 4.6 + +SIGNAL_GAIN_CORRECTION_UNC_0_ROW_0 = 0.11 0.22 0.33 0.44 +SIGNAL_GAIN_CORRECTION_UNC_0_ROW_1 = 0.55 0.66 0.77 0.88 +SIGNAL_GAIN_CORRECTION_UNC_0_ROW_2 = 0.91 0.92 0.93 0.94 + + +CARRIER_FREQUENCY_1 = 1227.6 + +PC_OFFSET_1 = 3.4 0.2 5.6 0.3 1.2 0.1 + +NUMBER_OF_ROWS_1 = 4 +NUMBER_OF_COLUMNS_1 = 2 +NUMBER_OF_ROWS_SGC_1 = 3 +NUMBER_OF_COLUMNS_SGC_1 = 4 + +PC_VARIATION_CORRECTION_1_ROW_0 = 55.66 77.88 +PC_VARIATION_CORRECTION_1_ROW_1 = 11.22 33.44 +PC_VARIATION_CORRECTION_1_ROW_2 = 56.6 78.8 +PC_VARIATION_CORRECTION_1_ROW_3 = 12.2 34.4 + +PC_VARIATION_CORRECTION_UNC_1_ROW_0 = 0.3 0.4 +PC_VARIATION_CORRECTION_UNC_1_ROW_1 = 1.1 1.2 +PC_VARIATION_CORRECTION_UNC_1_ROW_2 = 2.1 2.2 +PC_VARIATION_CORRECTION_UNC_1_ROW_3 = 0.1 0.2 + +SIGNAL_GAIN_CORRECTION_1_ROW_0 = 7.6 6.5 5.4 4.3 +SIGNAL_GAIN_CORRECTION_1_ROW_1 = 1.3 2.4 9.8 8.7 +SIGNAL_GAIN_CORRECTION_1_ROW_2 = 1.4 2.5 3.6 4.7 + +SIGNAL_GAIN_CORRECTION_UNC_1_ROW_0 = 0.91 0.92 0.55 0.66 +SIGNAL_GAIN_CORRECTION_UNC_1_ROW_1 = 0.11 0.22 0.93 0.94 +SIGNAL_GAIN_CORRECTION_UNC_1_ROW_2 = 0.95 0.96 0.33 0.44 diff --git a/configs/gps/gps.conf b/configs/gps/gps.conf index 22ea723..1a8c8f6 100644 --- a/configs/gps/gps.conf +++ b/configs/gps/gps.conf @@ -1,31 +1,20 @@ -#Version check for XTRA -#DISABLE = 0 -#AUTO = 1 -#XTRA2 = 2 -#XTRA3 = 3 -XTRA_VERSION_CHECK=0 - -#unlimited XTRA download -XTRA_TEST_ENABLED = 1 -XTRA_THROTTLE_ENABLED = 0 - # Error Estimate # _SET = 1 # _CLEAR = 0 ERR_ESTIMATE=0 #NTP server -NTP_SERVER=time.izatcloud.net +NTP_SERVER=time.xtracloud.net NTP_SERVER_2=asia.pool.ntp.org NTP_SERVER_3=0.cn.pool.ntp.org #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 @@ -34,12 +23,12 @@ INTERMEDIATE_POS=0 SUPL_VER=0x20000 # Emergency SUPL, 1=enable, 0=disable -#SUPL_ES=1 +SUPL_ES=0 #Choose PDN for Emergency SUPL #1 - Use emergency PDN #0 - Use regular SUPL PDN for Emergency SUPL -#USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0 +USE_EMERGENCY_PDN_FOR_EMERGENCY_SUPL=0 #SUPL_MODE is a bit mask set in config.xml per carrier by default. #If it is uncommented here, this value will overwrite the value from @@ -87,11 +76,12 @@ ACCURACY_THRES=70 #################################### # LTE Positioning Profile Settings #################################### +# LPP_PROFILE is a bit mask # 0: Enable RRLP on LTE(Default) # 1: Enable LPP_User_Plane on LTE # 2: Enable LPP_Control_Plane # 3: Enable both LPP_User_Plane and LPP_Control_Plane -LPP_PROFILE = 0 +LPP_PROFILE = 3 #################################### #Datum Type @@ -105,6 +95,40 @@ DATUM_TYPE = 0 ################################ # NMEA provider (1=Modem Processor, 0=Application Processor) 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 @@ -114,7 +138,7 @@ SGLTE_TARGET=0 # 0x1: RRC CPlane # 0x2: RRLP UPlane # 0x4: LLP Uplane -A_GLONASS_POS_PROTOCOL_SELECT = 0 +A_GLONASS_POS_PROTOCOL_SELECT = 0xf ################################################## # Select technology for LPPe Control Plane @@ -123,7 +147,7 @@ A_GLONASS_POS_PROTOCOL_SELECT = 0 # 0x2: WLAN AP Measurements for LPPe CP # 0x4: SRN AP measurement for CP # 0x8: Sensor Barometer Measurement LPPe CP -LPPE_CP_TECHNOLOGY = 0 +#LPPE_CP_TECHNOLOGY = 0 ################################################## # Select technology for LPPe User Plane @@ -132,7 +156,7 @@ LPPE_CP_TECHNOLOGY = 0 # 0x2: WLAN AP Measurements for LPPe UP # 0x4: SRN AP measurement for UP # 0x8: Sensor Barometer Measurement LPPe UP -LPPE_UP_TECHNOLOGY = 0 +#LPPE_UP_TECHNOLOGY = 0 ################################################## # AGPS_CONFIG_INJECT @@ -165,16 +189,6 @@ AGPS_CONFIG_INJECT = 1 # 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 - ##################################### # DR_SYNC Pulse Availability ##################################### @@ -277,7 +291,7 @@ MODEM_TYPE = 1 # 1 : enabled # This setting enables GPS engine to estimate clock # bias and drift when the signal from at least 1 -# SV is available and the UE's position is known by +# SV is available and the UE’s position is known by # other position engines. #POSITION_ASSISTED_CLOCK_ESTIMATOR_ENABLED = 0 @@ -286,10 +300,88 @@ MODEM_TYPE = 1 ##################################### # This is a string that is sent to the framework # in nfwNotifyCb callback -PROXY_APP_PACKAGE_NAME = com.google.android.carrierlocation +PROXY_APP_PACKAGE_NAME = com.lbe.security.miui ##################################### # CP_MTLR_ES ##################################### # CP MTLR ES, 1=enable, 0=disable CP_MTLR_ES=0 + +################################################## +# GNSS_DEPLOYMENT +################################################## +# 0 : Enable QTI GNSS (default) +# 1 : Enable QCSR SS5 +# 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 + +# Xiaomi add for breaking xtra download limitation +XTRA_TEST_ENABLED = 1 +XTRA_THROTTLE_ENABLED = 0 +XTRA_SYSTEM_TIME_INJECT = 1 +################################################## +# 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/configs/gps/izat.conf b/configs/gps/izat.conf index a5ac607..e236d24 100644 --- a/configs/gps/izat.conf +++ b/configs/gps/izat.conf @@ -93,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: @@ -104,6 +105,8 @@ GTP_WAA=DISABLED # DISABLED # BASIC # PREMIUM +# PREMIUM_ENV_AIDING +# MODEM_DEFAULT SAP=PREMIUM #FREE_WIFI_SCAN_INJECT valid modes: @@ -133,6 +136,12 @@ WIFI_SUPPLICANT_INFO=BASIC # ENABLED # DISABLED +#Values for LOW_RAM_TARGETS: +# ENABLED +# DISABLED +# Property to enable/disable processes for low ram targets. Uses ro.config.low_ram property +# to identify low ram targets. + #PROCESS_NAME # Name of the executable file. @@ -151,6 +160,14 @@ WIFI_SUPPLICANT_INFO=BASIC #2. 'all' or 'all exclude' -> for All platforms #3. 'all exclude XXXX' -> All platforms exclude XXXX. For example: all exclude msm8937 +#Values for SOC_IDS can be: +#1. Any valid values obtained from soc_id node separated by single space. For example: 339 386 436 +## soc_id value can be obtained from any one of below node: +## - /sys/devices/soc0/soc_id +## - /sys/devices/system/soc/soc0/id +#2. 'all' or 'all exclude' -> for All soc id's +#3. 'all exclude XXXX' -> All soc id's exclude XXXX. For example: all exclude 339 386 + #Values for BASEBAND can be: #1. Any valid values obtained from ro.baseband separated by single space. For example: sglte sglte2 #2. 'all' or 'all exclude' -> for all basebands @@ -162,7 +179,9 @@ PROCESS_GROUPS=gps wifi inet oem_2901 PREMIUM_FEATURE=0 IZAT_FEATURE_MASK=0xf303 PLATFORMS=all +SOC_IDS=all BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=0 @@ -173,7 +192,9 @@ PROCESS_GROUPS=inet gps PREMIUM_FEATURE=1 IZAT_FEATURE_MASK=0xc03 PLATFORMS=all +SOC_IDS=all exclude 386 436 BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=1 @@ -184,7 +205,9 @@ PROCESS_GROUPS=wifi inet gps system oem_2904 PREMIUM_FEATURE=1 IZAT_FEATURE_MASK=0xd03 PLATFORMS=all +SOC_IDS=all exclude 386 436 BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=1 @@ -195,7 +218,9 @@ PROCESS_GROUPS=gps oem_2901 can plugdev diag sensors PREMIUM_FEATURE=1 IZAT_FEATURE_MASK=0xf0 PLATFORMS=all +SOC_IDS=all exclude 386 436 BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=1 @@ -206,7 +231,9 @@ PROCESS_GROUPS=inet gps system PREMIUM_FEATURE=0 IZAT_FEATURE_MASK=0 PLATFORMS=all +SOC_IDS=all BASEBAND=all +LOW_RAM_TARGETS=ENABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=0 @@ -222,7 +249,9 @@ PROCESS_GROUPS=gps diag inet qwes oem_2901 system PREMIUM_FEATURE=0 IZAT_FEATURE_MASK=0 PLATFORMS=all +SOC_IDS=all BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=1 @@ -237,10 +266,12 @@ 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 +SOC_IDS=all BASEBAND=all +LOW_RAM_TARGETS=DISABLED HARDWARE_TYPE=all VENDOR_ENHANCED_PROCESS=1 diff --git a/configs/gps/lowi.conf b/configs/gps/lowi.conf index 5006b59..482fb42 100644 --- a/configs/gps/lowi.conf +++ b/configs/gps/lowi.conf @@ -1,6 +1,6 @@ #*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====* # -# LOWI Config file +# LOWI Config file - default # # GENERAL DESCRIPTION # This file contains the config params for LOWI diff --git a/configs/gps/sap.conf b/configs/gps/sap.conf index 0f71794..e8d27b7 100644 --- a/configs/gps/sap.conf +++ b/configs/gps/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 @@ -46,7 +50,9 @@ SENSOR_ALGORITHM_CONFIG_MASK=0x0 ################################################ # 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 ################################################ diff --git a/device.mk b/device.mk index 3935302..8c744e2 100644 --- a/device.mk +++ b/device.mk @@ -181,6 +181,7 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/gps/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \ $(LOCAL_PATH)/configs/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \ + $(LOCAL_PATH)/configs/gps/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf \ $(LOCAL_PATH)/configs/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \ $(LOCAL_PATH)/configs/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ $(LOCAL_PATH)/configs/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \