gps: init gps
Bug: 314051269 Test: Test GPS Change-Id: Ieb05b7404db6926394ce581f898d2a4b9b045bf2
This commit is contained in:
parent
367372f921
commit
9a668f9384
31 changed files with 781 additions and 696 deletions
|
@ -194,24 +194,7 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
device/google/tegu/uwb
|
||||
|
||||
# Location
|
||||
# SDK build system
|
||||
$(call soong_config_set, include_libsitril-gps-wifi, board_without_radio, $(BOARD_WITHOUT_RADIO))
|
||||
include device/google/gs-common/gps/brcm/device.mk
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/tegu/location/gps.cer:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.cer
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/tegu/location/lhd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
device/google/tegu/location/scd.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
|
||||
device/google/tegu/location/gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/tegu/location/lhd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/lhd.conf \
|
||||
device/google/tegu/location/scd_user.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/scd.conf \
|
||||
device/google/tegu/location/gps_user.xml:$(TARGET_COPY_OUT_VENDOR)/etc/gnss/gps.xml
|
||||
endif
|
||||
include device/google/tegu/location/gnssd/device-gnss.mk
|
||||
|
||||
# Set zram size
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
|
|
316
location/gnssd/Android.bp
Normal file
316
location/gnssd/Android.bp
Normal file
|
@ -0,0 +1,316 @@
|
|||
soong_namespace {
|
||||
}
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["vendor_samsung_slsi_gnss_license"],
|
||||
}
|
||||
license {
|
||||
name: "vendor_samsung_slsi_gnss_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"legacy_by_exception_only", // by exception only
|
||||
"legacy_proprietary", // by exception only
|
||||
],
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.gnss-service",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/android.hardware.gnss-service"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware",
|
||||
"libhidlbase",
|
||||
"android.hardware.gnss-V3-ndk",
|
||||
"libsensorndkbridge",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libhidltransport is deprecated
|
||||
// Bypass because libhwbinder is deprecated
|
||||
check_elf_files: false,
|
||||
vintf_fragments: ["android.hardware.gnss@lassen.xml"],
|
||||
init_rc: ["init.gnss.rc"],
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "gnssd",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/gnssd"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware_legacy",
|
||||
"libcutils",
|
||||
"libssl",
|
||||
"libcrypto",
|
||||
// "libsitril-gps",
|
||||
"android.frameworks.sensorservice@1.0",
|
||||
"libhidlbase",
|
||||
"libandroid_net",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libsitril-gps is Android.mk module
|
||||
check_elf_files: false,
|
||||
}
|
||||
|
||||
// factory daemon and libraries
|
||||
cc_prebuilt_binary {
|
||||
name: "sctd",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/sctd"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware_legacy",
|
||||
"libcutils",
|
||||
"libssl",
|
||||
"libcrypto",
|
||||
// "libsitril-gps",
|
||||
"android.frameworks.sensorservice@1.0",
|
||||
"libhidlbase",
|
||||
"libandroid_net",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libsitril-gps is Android.mk module
|
||||
check_elf_files: false,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "spad",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/spad"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware_legacy",
|
||||
"libcutils",
|
||||
"libssl",
|
||||
"libcrypto",
|
||||
// "libsitril-gps",
|
||||
"android.frameworks.sensorservice@1.0",
|
||||
"libhidlbase",
|
||||
"libandroid_net",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libsitril-gps is Android.mk module
|
||||
check_elf_files: false,
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "swcnd",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/swcnd"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware_legacy",
|
||||
"libcutils",
|
||||
"libssl",
|
||||
"libcrypto",
|
||||
// "libsitril-gps",
|
||||
"android.frameworks.sensorservice@1.0",
|
||||
"libhidlbase",
|
||||
"libandroid_net",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libsitril-gps is Android.mk module
|
||||
check_elf_files: false,
|
||||
}
|
||||
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmptool_utils",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/libmptool_utils.so"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.gnss@1.0",
|
||||
"android.hardware.gnss@1.1",
|
||||
"android.hardware.gnss@2.0",
|
||||
"android.hardware.gnss@2.1",
|
||||
"android.hardware.gnss.measurement_corrections@1.0",
|
||||
"android.hardware.gnss.visibility_control@1.0",
|
||||
"libhardware",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
// relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libhidltransport is deprecated
|
||||
check_elf_files: false,
|
||||
//vintf_fragments: ["android.hardware.gnss@2.1-service-lass.xml"]
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmptool_log",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/libmptool_log.so"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.gnss@1.0",
|
||||
"android.hardware.gnss@1.1",
|
||||
"android.hardware.gnss@2.0",
|
||||
"android.hardware.gnss@2.1",
|
||||
"android.hardware.gnss.measurement_corrections@1.0",
|
||||
"android.hardware.gnss.visibility_control@1.0",
|
||||
"libhardware",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
// relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libhidltransport is deprecated
|
||||
check_elf_files: false,
|
||||
//vintf_fragments: ["android.hardware.gnss@2.1-service-lass.xml"]
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmptool_json",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/libmptool_json.so"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.gnss@1.0",
|
||||
"android.hardware.gnss@1.1",
|
||||
"android.hardware.gnss@2.0",
|
||||
"android.hardware.gnss@2.1",
|
||||
"android.hardware.gnss.measurement_corrections@1.0",
|
||||
"android.hardware.gnss.visibility_control@1.0",
|
||||
"libhardware",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
// relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libhidltransport is deprecated
|
||||
check_elf_files: false,
|
||||
//vintf_fragments: ["android.hardware.gnss@2.1-service-lass.xml"]
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "android.hardware.gnss@2.1-impl",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/android_hardware_gnss_2_1-impl.so"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libhidlbase",
|
||||
"libutils",
|
||||
"android.hardware.gnss@1.0",
|
||||
"android.hardware.gnss@1.1",
|
||||
"android.hardware.gnss@2.0",
|
||||
"android.hardware.gnss@2.1",
|
||||
"android.hardware.gnss.measurement_corrections@1.0",
|
||||
"android.hardware.gnss.visibility_control@1.0",
|
||||
"libhardware",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
// Bypass because libhidltransport is deprecated
|
||||
check_elf_files: false,
|
||||
//vintf_fragments: ["android.hardware.gnss@2.1-service-lass.xml"]
|
||||
}
|
7
location/gnssd/android.hardware.gnss@lassen.xml
Normal file
7
location/gnssd/android.hardware.gnss@lassen.xml
Normal file
|
@ -0,0 +1,7 @@
|
|||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.gnss</name>
|
||||
<version>3</version>
|
||||
<fqname>IGnss/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
2
location/gnssd/device-gnss.mk
Normal file
2
location/gnssd/device-gnss.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
$(call inherit-product-if-exists, device/google/tegu/location/gnssd/gnss_release.mk)
|
||||
|
27
location/gnssd/gnss_release.mk
Normal file
27
location/gnssd/gnss_release.mk
Normal file
|
@ -0,0 +1,27 @@
|
|||
# only GPS libraries and binaries to the target directory
|
||||
GPS_ROOT := device/google/tegu/location/gnssd
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.gnss@2.1-impl \
|
||||
gnssd \
|
||||
sctd \
|
||||
spad \
|
||||
swcnd \
|
||||
libmptool_json \
|
||||
libmptool_log \
|
||||
libmptool_utils \
|
||||
gnss-aidl-service_IGnssV2_ISlsiGnssV1 \
|
||||
android.hardware.gnss-service \
|
||||
android.hardware.location.gps.prebuilt.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(GPS_ROOT)/release/ca.pem:vendor/etc/gnss/ca.pem \
|
||||
$(GPS_ROOT)/release/sctd.json:vendor/etc/sctd.json \
|
||||
$(GPS_ROOT)/release/spad.json:vendor/etc/spad.json \
|
||||
$(GPS_ROOT)/release/swcnd.json:vendor/etc/swcnd.json \
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(GPS_ROOT)
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(GPS_ROOT)/release/gps.cfg:vendor/etc/gnss/gps.cfg
|
52
location/gnssd/init.gnss.rc
Normal file
52
location/gnssd/init.gnss.rc
Normal file
|
@ -0,0 +1,52 @@
|
|||
on post-fs-data
|
||||
mkdir /data/vendor/gps 0771 system system
|
||||
mkdir /data/vendor/gps/logs 0771 gps system
|
||||
mkdir /data/vendor/gps/overlay 0771 gps system
|
||||
|
||||
# Directory for GPS
|
||||
rm /data/system/gps/gps_started
|
||||
rm /data/system/gps/glonass_started
|
||||
rm /data/system/gps/beidou_started
|
||||
rm /data/system/gps/smd_started
|
||||
rm /data/system/gps/sv_cno.info
|
||||
|
||||
# Permissions for gnss
|
||||
chmod 0660 /dev/gnss_ipc
|
||||
chown system system /dev/gnss_ipc
|
||||
chmod 0660 /dev/gnss_dump
|
||||
chown system system /dev/gnss_dump
|
||||
chmod 0660 /dev/gnss_boot
|
||||
chown system system /dev/gnss_boot
|
||||
|
||||
# GPS daemon
|
||||
service gnssd /vendor/bin/hw/gnssd
|
||||
class main
|
||||
user gps
|
||||
group system inet net_raw wakelock sdcard_rw
|
||||
capabilities BLOCK_SUSPEND
|
||||
ioprio be 0
|
||||
seclabel u:r:gnssd:s0
|
||||
|
||||
service slsi_gnss_service /vendor/bin/hw/android.hardware.gnss-service
|
||||
class main
|
||||
user system
|
||||
group system gps
|
||||
|
||||
# factory daemon
|
||||
service sctd /vendor/bin/hw/sctd --json "/vendor/etc/sctd.json"
|
||||
class main
|
||||
user root
|
||||
group root system bluetooth radio misc
|
||||
#seclabel u:r:shell:s0
|
||||
|
||||
service swcnd /vendor/bin/hw/swcnd --json "/vendor/etc/swcnd.json"
|
||||
class main
|
||||
user root
|
||||
group system bluetooth radio misc
|
||||
#seclabel u:r:shell:s0
|
||||
|
||||
service spad /vendor/bin/hw/spad --json "/vendor/etc/spad.json"
|
||||
class main
|
||||
user root
|
||||
group system bluetooth radio misc
|
||||
#seclabel u:r:shell:s0
|
BIN
location/gnssd/release/android.hardware.gnss-service
Normal file
BIN
location/gnssd/release/android.hardware.gnss-service
Normal file
Binary file not shown.
22
location/gnssd/release/android.hardware.location.gps.xml
Normal file
22
location/gnssd/release/android.hardware.location.gps.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!-- These are the location-related features for devices that include GPS. -->
|
||||
<permissions>
|
||||
<feature name="android.hardware.location" />
|
||||
<feature name="android.hardware.location.network" />
|
||||
<feature name="android.hardware.location.gps" />
|
||||
</permissions>
|
BIN
location/gnssd/release/android_hardware_gnss_2_1-impl.so
Executable file
BIN
location/gnssd/release/android_hardware_gnss_2_1-impl.so
Executable file
Binary file not shown.
BIN
location/gnssd/release/gnssd
Normal file
BIN
location/gnssd/release/gnssd
Normal file
Binary file not shown.
206
location/gnssd/release/gps.cfg
Normal file
206
location/gnssd/release/gps.cfg
Normal file
|
@ -0,0 +1,206 @@
|
|||
############################################
|
||||
GlueLayer_ToolConfigSelection=3
|
||||
user_ports_tcp_name=Autotest
|
||||
user_ports_tcp_port=7555
|
||||
debug_console=1
|
||||
debug_dir=/data/vendor/gps/logs
|
||||
############################################
|
||||
GlueLayer_IsGedKeyExist=1
|
||||
GlueLayer_isForceIPV6=0
|
||||
GlueLayer_EnableGnssCfgInterface=1
|
||||
debug_enable=1
|
||||
|
||||
uni_log_max_file_count=5
|
||||
uni_log_max_size_mb=20
|
||||
uni_log_total_max_size_mb=100
|
||||
|
||||
gnss_device_type=K041
|
||||
|
||||
# send debug req on MCW oddity
|
||||
#Chip_Configuration_Io_Options=0x85
|
||||
|
||||
# borrow this field to force CP crash on GAL bad ISM
|
||||
#Chip_Configuration_WT1=1
|
||||
|
||||
# Chip_Configuration_TrackerDebugMode = 0x10
|
||||
|
||||
# enables CHPP for SPI port
|
||||
# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
|
||||
# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
|
||||
chpp_betp_client=1
|
||||
chpp_log_level=2
|
||||
gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
|
||||
gnss_device_data_port_chpp_present=1
|
||||
|
||||
### Update for VTS ###
|
||||
GlueLayer_YearOfHW=2023
|
||||
scheduling_enabled=1
|
||||
|
||||
### temporarily disable precise time aiding ###
|
||||
Chip_Configuration_AidingConfiguration=0x00020046
|
||||
|
||||
# set shared reference clock for freq aiding (0x20)
|
||||
# enable dcxo (0x04)
|
||||
Chip_Configuration_RefClkControl=0x24
|
||||
|
||||
### Override for DCXO Cnom/TuneValue
|
||||
#Chip_Configuration_DCXOtuneValue=3200
|
||||
|
||||
### DCXO Optional Parameters. #####
|
||||
# Can specify Crystal type, and/or over-ride T0-inflection point ####
|
||||
#
|
||||
# Optionally specify DXCO Crystal type, and operation mode
|
||||
# 8 bits. Lower 4 bits Crystal ID# (0-15)
|
||||
# Upper 4 bits Poly Configuration: (0/1)
|
||||
# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
|
||||
### Crystal Types:
|
||||
## 0 - Unknown/Default
|
||||
## 1 - Kyocera CT1612RB
|
||||
## 2 - NDK NX1612SD CS12311
|
||||
## 3 - NDK NX1612SD CS13950
|
||||
## 4 - NDK NX1612SD CS15298
|
||||
## 5 - KDS 7CG07680A10
|
||||
## 6- TXC 0W76870003
|
||||
## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
|
||||
## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
|
||||
Chip_Configuration_DCXO_CrystalType=0x11
|
||||
|
||||
## Optionally specify DXCO Inflection point temperature, ####
|
||||
# This will override any default value or value in Crystal type ####
|
||||
# Value is degrees C x 100 E.g. 2855 = 28.55 deg C
|
||||
# Range should be 2000 to 3100
|
||||
#Chip_Configuration_DCXO_InflectionPoint=2855
|
||||
|
||||
# disable spam dog to avoid loss of position request
|
||||
spam_dog_ms=0
|
||||
# disable HW watchdog
|
||||
Chip_Configuration_WatchdogPeriod = 0
|
||||
|
||||
# GPS= 0x0001 GLO= 0x0002 GALILEO=0x0004 BEIDOU=0x0008 SBAS=0x0010 QZSS=0x0020
|
||||
# MEMS Static Detect=0x4000 MEMS Heading=0x2000
|
||||
### 2C48 L1 only MCW ###
|
||||
Chip_Configuration_GNSSConstConstraintDef=0x603F
|
||||
Chip_Configuration_RfMiscCtrl=0x80008001
|
||||
|
||||
# DVS: 0 = Disabled (default), 1 = Enabled
|
||||
# DFS: 0 = Disabled (default), 1 = Enabled
|
||||
# JJM: disabling due to suspicion that DVFS is contributing to GAL BAD ISM
|
||||
Chip_Configuration_FeatureCfg_DVS = 1
|
||||
Chip_Configuration_FeatureCfg_DFS = 1
|
||||
|
||||
# This is a bitfield that will disable incoming interrupts for mailboxes
|
||||
# AP = 0x1
|
||||
# APM = 0x2
|
||||
# CP = 0x4
|
||||
# CHUB = 0x8
|
||||
# The CHUB on the neus continually triggers a bit so this is to prevent
|
||||
# it from continually waking the gnss.
|
||||
mailboxDisabled=0x8
|
||||
|
||||
### Specify RFIC ID for K40 ###
|
||||
# 55200001 = S5520 EVT1
|
||||
gnss_rfic_chip_id=55200001
|
||||
|
||||
# Uncomment to Disable SUPL
|
||||
#Aiding_AidingType=0
|
||||
# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
|
||||
#GlueLayer_EnableFwConfiguration=0
|
||||
|
||||
#Uncomment to disable SGEE
|
||||
#Sif_OperationMode=0
|
||||
|
||||
# Enables RTC time aiding from Host
|
||||
# 1 - enable, 0 - disable (default)
|
||||
UseRtcForAiding=1
|
||||
|
||||
# Min number of prior fixes needed for RTC time aiding
|
||||
rtc_min_num_of_fixes=10
|
||||
|
||||
# increase rtc uncertainty from Host to hedge against bad fixes
|
||||
additional_rtc_uncertainty_ms=10
|
||||
|
||||
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
|
||||
Sif_UseFwXtraInterface=0
|
||||
|
||||
# Low power configurations
|
||||
# ACT C/No loss limit: 0dB to 15dB (0 = ACT is disabled by default) 3dB = 50% Duty Cycle, 6dB = 25% Duty Cycle, 9dB = 12.5% Duty Cycle
|
||||
Chip_Configuration_FeatureCfg_ACT = 5
|
||||
|
||||
ChipCfg_DspMemdumpEnable=1
|
||||
|
||||
GNSS_CARRIER_CONFIG_BEGIN
|
||||
# DEFAULT
|
||||
GNSS_CARRIER_ID=0
|
||||
ENABLE_2G_CP_CAPS_MSA=1
|
||||
ENABLE_2G_CP_CAPS_MSB=1
|
||||
ENABLE_3G_CP_CAPS_MSA=1
|
||||
ENABLE_3G_CP_CAPS_MSB=1
|
||||
ENABLE_4G_CP_CAPS_MSA=1
|
||||
ENABLE_4G_CP_CAPS_MSB=1
|
||||
ENABLE_5G_CP_CAPS_MSA=1
|
||||
ENABLE_5G_CP_CAPS_MSB=1
|
||||
ENABLE_2G_UP_CAPS_MSA=1
|
||||
ENABLE_2G_UP_CAPS_MSB=1
|
||||
ENABLE_3G_UP_CAPS_MSA=1
|
||||
ENABLE_3G_UP_CAPS_MSB=1
|
||||
ENABLE_4G_UP_CAPS_MSA=1
|
||||
ENABLE_4G_UP_CAPS_MSB=1
|
||||
ENABLE_5G_UP_CAPS_MSA=0
|
||||
ENABLE_5G_UP_CAPS_MSB=0
|
||||
SUPL_UT2_SEC=20
|
||||
SUPL_UT3_SEC=20
|
||||
ENABLE_LPP_CP=1
|
||||
ENABLE_LPP_UP=0
|
||||
ENABLE_LPPE_CP=3
|
||||
ENABLE_LPPE_UP=0
|
||||
# ATT
|
||||
GNSS_CARRIER_ID=1
|
||||
# TMO
|
||||
GNSS_CARRIER_ID=2
|
||||
ENABLE_3G_CP_CAPS_MSA=0
|
||||
ENABLE_4G_CP_CAPS_MSA=0
|
||||
# VZW
|
||||
GNSS_CARRIER_ID=3
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
# VISIBLE
|
||||
GNSS_CARRIER_ID=4
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
# AIRTEL
|
||||
GNSS_CARRIER_ID=5
|
||||
# RAKUTEN
|
||||
GNSS_CARRIER_ID=6
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
# KDDI
|
||||
GNSS_CARRIER_ID=7
|
||||
ENABLE_LPP_CP=0
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_CP=0
|
||||
ENABLE_LPPE_UP=3
|
||||
# SBM
|
||||
GNSS_CARRIER_ID=8
|
||||
ENABLE_LPP_CP=0
|
||||
ENABLE_LPP_UP=0
|
||||
ENABLE_LPPE_CP=0
|
||||
ENABLE_LPPE_UP=0
|
||||
ENABLE_5G_CP_CAPS_MSA=0
|
||||
ENABLE_5G_CP_CAPS_MSB=0
|
||||
GNSS_CARRIER_CONFIG_END
|
||||
|
||||
bdsUsedInUSPolicy=2
|
||||
sbasUsedInUSPolicy=2
|
||||
qzssUsedInUSPolicy=2
|
||||
navicUsedInUSPolicy=2
|
||||
|
||||
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
|
||||
GlueLayer_MeasCorrCap=7
|
||||
|
||||
RfPathLossDb_Ap=3.5
|
||||
RfPathLossDb_Cp=3.5
|
||||
|
||||
Agnss_SuplUseCpNi=1
|
||||
PosReq_Supl2Params_SuplNiUdpPort=7275
|
||||
|
||||
NmeaBitmask=0x010003fff
|
BIN
location/gnssd/release/libmptool_json.so
Normal file
BIN
location/gnssd/release/libmptool_json.so
Normal file
Binary file not shown.
BIN
location/gnssd/release/libmptool_log.so
Normal file
BIN
location/gnssd/release/libmptool_log.so
Normal file
Binary file not shown.
BIN
location/gnssd/release/libmptool_utils.so
Normal file
BIN
location/gnssd/release/libmptool_utils.so
Normal file
Binary file not shown.
BIN
location/gnssd/release/sctd
Normal file
BIN
location/gnssd/release/sctd
Normal file
Binary file not shown.
88
location/gnssd/release/sctd.json
Normal file
88
location/gnssd/release/sctd.json
Normal file
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"console" : {
|
||||
"uart" : {
|
||||
"support" : false,
|
||||
"active" : true,
|
||||
"route" : "/dev/ttySAC0"
|
||||
},
|
||||
"usb" : {
|
||||
"support" : true,
|
||||
"active" : {"persist.vendor.config.ttygs0" : 1},
|
||||
"route" : "/dev/ttyGS0",
|
||||
"timeout" : 0
|
||||
},
|
||||
"tcp" : {
|
||||
"support" : true,
|
||||
"active" : true,
|
||||
"route" : "127.0.0.1",
|
||||
"port" : 7727
|
||||
},
|
||||
"local" : {
|
||||
"support" : true,
|
||||
"active" : true,
|
||||
"route" : "/dev/socket/sctd",
|
||||
"timeout" : 20
|
||||
}
|
||||
},
|
||||
"receive-mode" : {
|
||||
"mode" : "tail",
|
||||
"tail" : "0d0a",
|
||||
"millisecond" : "100"
|
||||
},
|
||||
"module" : {
|
||||
"support-modules" : [
|
||||
"sctd",
|
||||
"pcba",
|
||||
"wcn"
|
||||
],
|
||||
"test-commands" : {
|
||||
"pcba" : [
|
||||
"SAT"
|
||||
]
|
||||
},
|
||||
"interaction" : {
|
||||
"pcba" : {
|
||||
"timeout" : 15,
|
||||
"keep-alive" : false,
|
||||
"path" : "/dev/socket/sync_spad"
|
||||
},
|
||||
"wcn" : {
|
||||
"timeout" : 20,
|
||||
"keep-alive" : true,
|
||||
"path" : "/dev/socket/sync_wcn"
|
||||
}
|
||||
},
|
||||
"whitelist" : {
|
||||
"sctd" : [
|
||||
"SAT+TCP",
|
||||
"SAT+USB",
|
||||
"SAT+UART",
|
||||
"SAT+IP",
|
||||
"SAT+PORT",
|
||||
"SAT+UPDATE"
|
||||
],
|
||||
"pcba" : [
|
||||
"SAT+TIMEOUT",
|
||||
"SAT+REBOOT",
|
||||
"SAT+WIFI",
|
||||
"SAT+BT"
|
||||
],
|
||||
"wcn" : [
|
||||
"RF+AP2WB",
|
||||
"RF+WB2AP",
|
||||
"AT+WIFIRF",
|
||||
"ATA+WIFI",
|
||||
"AT+BTRF",
|
||||
"ATA+BT",
|
||||
"AT+GPSFTTEST",
|
||||
"AT+SPITEST",
|
||||
"ATA+GPS",
|
||||
"SAT+WCNTCP",
|
||||
"SAT+WCNTCPIP",
|
||||
"SAT+WCNTCPPORT",
|
||||
"SAT+WCNSETTIME"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
location/gnssd/release/spad
Normal file
BIN
location/gnssd/release/spad
Normal file
Binary file not shown.
8
location/gnssd/release/spad.json
Normal file
8
location/gnssd/release/spad.json
Normal file
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"misc" : {
|
||||
"libpath" : "/vendor/lib64/libmphal_default.so",
|
||||
"default_timeout" : 15,
|
||||
"support" : true
|
||||
}
|
||||
}
|
||||
|
BIN
location/gnssd/release/swcnd
Normal file
BIN
location/gnssd/release/swcnd
Normal file
Binary file not shown.
52
location/gnssd/release/swcnd.json
Normal file
52
location/gnssd/release/swcnd.json
Normal file
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
"console" : {
|
||||
"tcp" : {
|
||||
"support" : true,
|
||||
"active" : false,
|
||||
"ip" : "",
|
||||
"port" : "2543"
|
||||
},
|
||||
"local" : {
|
||||
"support" : true,
|
||||
"active" : true,
|
||||
"ip" : "/dev/socket/sync_wcn"
|
||||
}
|
||||
},
|
||||
"module" : {
|
||||
"interaction" : {
|
||||
"wlan&bt" : {
|
||||
"libpath" : "/vendor/lib64/libwlbt.so",
|
||||
"support" : true,
|
||||
"timeout" : 15
|
||||
},
|
||||
"gnss" : {
|
||||
"libpath" : "/vendor/lib64/hw/android.hardware.gnss@2.1-impl.so",
|
||||
"timeout" : 15,
|
||||
"support" : true
|
||||
}
|
||||
},
|
||||
|
||||
"whitelist" : {
|
||||
"wlan&bt" : [
|
||||
"RF+AP2WB",
|
||||
"RF+WB2AP",
|
||||
"AT+BTRF",
|
||||
"ATA+BT",
|
||||
"AT+WIFIRF",
|
||||
"ATA+WIFI"
|
||||
],
|
||||
"gnss" : [
|
||||
"AT+GPSFTTEST",
|
||||
"AT+SPITEST",
|
||||
"ATA+GPS"
|
||||
],
|
||||
"internal" : [
|
||||
"SAT+WCNTCP",
|
||||
"SAT+WCNTCPIP",
|
||||
"SAT+WCNTCPPORT",
|
||||
"SAT+WCNSETTIME"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
101
location/gps.xml
101
location/gps.xml
|
@ -1,101 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="true"
|
||||
Log="JAVA"
|
||||
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="true"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="true"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="13.0"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.5"
|
||||
RfPathLossDb_Cp="3.5"
|
||||
RfPathLossDb_Ap_L5="3.5"
|
||||
RfPathLossDb_Cp_L5="3.5"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="2"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="true"
|
||||
Log="JAVA"
|
||||
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="true"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="true"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="10.5"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.51"
|
||||
RfPathLossDb_Cp="3.51"
|
||||
RfPathLossDb_Ap_L5="4.01"
|
||||
RfPathLossDb_Cp_L5="4.01"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="2"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,101 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="true"
|
||||
Log="JAVA"
|
||||
SecondaryConfigPath="/data/vendor/gps/overlay/gps_overlay.xml"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="true"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="true"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="11.3"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.4"
|
||||
RfPathLossDb_Cp="3.4"
|
||||
RfPathLossDb_Ap_L5="4"
|
||||
RfPathLossDb_Cp_L5="4"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="2"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,100 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="false"
|
||||
Log="JAVA"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="false"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="false"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="13.0"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.5"
|
||||
RfPathLossDb_Cp="3.5"
|
||||
RfPathLossDb_Ap_L5="3.5"
|
||||
RfPathLossDb_Cp_L5="3.5"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="0"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,100 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="false"
|
||||
Log="JAVA"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="false"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="false"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="10.5"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.51"
|
||||
RfPathLossDb_Cp="3.51"
|
||||
RfPathLossDb_Ap_L5="4.01"
|
||||
RfPathLossDb_Cp_L5="4.01"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="0"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,100 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<glgps xmlns="http://www.glpals.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.glpals.com/ glconfig.xsd" >
|
||||
<hal
|
||||
PortName="/dev/ttyBCM"
|
||||
BaudRate="921600"
|
||||
GpioNStdbyPath="/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby"
|
||||
CustGpioDelayMs="250"
|
||||
LogEnabled="false"
|
||||
Log="JAVA"
|
||||
LogDirectory="/sdcard/gps/broadcom/storage/"
|
||||
CtrlPipe="/data/vendor/gps/glgpsctrl"
|
||||
NmeaOutName="/data/vendor/gps/nmea_out"
|
||||
|
||||
acSuplServer="supl.google.com"
|
||||
SuplPort="7275"
|
||||
SuplLogEnable="false"
|
||||
SuplLogFullName="/data/vendor/gps/suplflow.txt"
|
||||
tlsEnable="true"
|
||||
|
||||
SuplSslMethod="SSLv23_NO_TLSv1_2"
|
||||
SuplEnable="true"
|
||||
SuplUseApn="false"
|
||||
SuplUseApnNI="true"
|
||||
SuplUseFwCellInfo="false"
|
||||
SuplDummyCellInfo ="true"
|
||||
SuplTlsCertDirPath="/etc/security/cacerts"
|
||||
SuplTlsCertPath="/vendor/etc/gnss/gps.cer"
|
||||
SuplUT1Seconds="20"
|
||||
SuplUT2Seconds="20"
|
||||
SuplUT3Seconds="20"
|
||||
TcpConnectionTimeout="20"
|
||||
SuplLppCapable="true"
|
||||
SuplEcidCapable="true"
|
||||
SuplVersion="2"
|
||||
SuplMinorVersion="0"
|
||||
SuplOtdoaCapable="true"
|
||||
SuplOtdoaCapable2="true"
|
||||
SuplGlonassCapable = "true"
|
||||
SuplGalileoCapable = "true"
|
||||
SuplBdsCapable = "true"
|
||||
SuplMgpsCapable = "true"
|
||||
|
||||
RtoEnable="true"
|
||||
RtiEnable="true"
|
||||
HttpSyncLto="true"
|
||||
LtoFileName="lto2.dat"
|
||||
LtoDir="/data/vendor/gps/"
|
||||
LtoSyncThresholdDays="1"
|
||||
|
||||
GnssYearOfHardware="2020"
|
||||
CpGuardTimeSec="2"
|
||||
CpLppGuardTimeSec="2"
|
||||
IgnoreInjectedSystemTime="true"
|
||||
|
||||
AttributionAppPkgName="com.google.android.carrierlocation"
|
||||
|
||||
AssertEnabled="false"
|
||||
CpLppeCancelDbhOnAgnssProvideLoc="true"
|
||||
CpLppeUseAgnssLocForEmptyDbh="true"
|
||||
ReAidingOnHotStart="false"
|
||||
ReAidingIntervalSec="1200"
|
||||
RuntimeSwLteFilterEnable="true"
|
||||
/>
|
||||
|
||||
<gll
|
||||
LogPriMask="LOG_INFO"
|
||||
LogFacMask="LOG_NMEA | LOG_GLLIOS | LOG_GLLAPI"
|
||||
FrqPlan="FRQ_PLAN_26MHZ_2PPM_49_152MHZ_300PPB"
|
||||
MultiCarrRFMode="GL_MULTI_CARR_RF_MODE_L1_L5"
|
||||
MultiCarrLnaMask="L1_EXT_ON|L5_EXT_ON"
|
||||
RfType="GL_RF_4776_BRCM"
|
||||
ExtL5Bias="11.3"
|
||||
|
||||
WarmStandbyTimeout1Seconds="10"
|
||||
WarmStandbyTimeout2Seconds="15"
|
||||
|
||||
EnableGnssPropagateInStandby="true"
|
||||
|
||||
RfPathLossDb_Ap="3.4"
|
||||
RfPathLossDb_Cp="3.4"
|
||||
RfPathLossDb_Ap_L5="4"
|
||||
RfPathLossDb_Cp_L5="4"
|
||||
OnChipGpsCarrierType="3,2,3,3,2,3,2,3,3,3,1,2,1,3,2,1,2,3,1,1,1,1,3,3,3,3,3,1,2,3,2,3"
|
||||
|
||||
EnableOnChipStopNotification="0"
|
||||
PowerMode="3"
|
||||
MinGpsWeekNumber="2216"
|
||||
OnChipAccMask="50"
|
||||
|
||||
EnableB1C="false"
|
||||
EnableCoex="true"
|
||||
/>
|
||||
|
||||
<gll_features
|
||||
EnableNicAutoSwitch="true"
|
||||
EnableNavic="true"
|
||||
/>
|
||||
|
||||
</glgps>
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
LheName=bbd
|
||||
|
||||
LheRsmResetTimeoutMS=10000
|
||||
GpioNStdbyPath=/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby
|
||||
|
||||
LhePatch=/vendor/firmware/SensorHub.patch
|
||||
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||
LheConsole=/data/vendor/gps/LheConsole
|
||||
|
||||
LogEnabled=true
|
||||
Log=JAVA
|
||||
LogDirectory=/sdcard/gps/broadcom/storage
|
||||
|
||||
LheBbdPacket=/dev/ttyBCM
|
||||
|
||||
LheBbdControl=/dev/bbd_control
|
||||
|
||||
# LheBbdSensor=/dev/bbd_sensor
|
||||
|
||||
LheFailSafe=/data/vendor/gps/logs/esw-crash-dump.txt
|
||||
LogLevel=*:I
|
||||
|
||||
NvStorageDir=/data/vendor/gps/
|
||||
|
||||
# Enable BBD debugging at these stages:
|
||||
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
|
||||
|
||||
LheAutoBaudDelayMS=10
|
||||
TrafficLogEnabled=false
|
||||
SecondaryConfigPath=/data/vendor/gps/overlay/lhd_overlay.conf
|
||||
|
||||
SkipSensorWakeLock=true
|
||||
LoggerWakeLockEnable=false
|
|
@ -1,31 +0,0 @@
|
|||
LheName=bbd
|
||||
|
||||
LheRsmResetTimeoutMS=10000
|
||||
GpioNStdbyPath=/sys/devices/platform/111e0000.spi/spi_master/spi21/spi21.0/nstandby
|
||||
|
||||
LhePatch=/vendor/firmware/SensorHub.patch
|
||||
Lhe477xDebugFlags=RPC:FACILITY=65535-dKP+CUST+LHE:STDOUT_PUTS:STDOUT_LOG
|
||||
# LheConsole=/data/vendor/gps/LheConsole
|
||||
|
||||
LogEnabled=false
|
||||
Log=JAVA
|
||||
LogDirectory=/sdcard/gps/broadcom/storage
|
||||
|
||||
LheBbdPacket=/dev/ttyBCM
|
||||
|
||||
LheBbdControl=/dev/bbd_control
|
||||
|
||||
# LheBbdSensor=/dev/bbd_sensor
|
||||
|
||||
# LheFailSafe=/data/vendor/gps/esw-crash-dump.txt
|
||||
|
||||
NvStorageDir=/data/vendor/gps/
|
||||
|
||||
# Enable BBD debugging at these stages:
|
||||
# LheDriverDebugFlags=PATCH_BBD:LHE_BBD:FSC_BBD
|
||||
|
||||
LheAutoBaudDelayMS=10
|
||||
TrafficLogEnabled=false
|
||||
|
||||
SkipSensorWakeLock=true
|
||||
LoggerWakeLockEnable=false
|
|
@ -1,6 +0,0 @@
|
|||
LogEnabled=true
|
||||
Log=JAVA
|
||||
LogDirectory=/sdcard/gps/broadcom/storage
|
||||
NvStorageDir=/data/vendor/gps/
|
||||
TcpConnectionTimeout=20
|
||||
SecondaryConfigPath=/data/vendor/gps/overlay/scd_overlay.conf
|
|
@ -1,5 +0,0 @@
|
|||
LogEnabled=false
|
||||
Log=JAVA
|
||||
LogDirectory=/sdcard/gps/broadcom/storage
|
||||
NvStorageDir=/data/vendor/gps/
|
||||
TcpConnectionTimeout=20
|
Loading…
Add table
Add a link
Reference in a new issue