bt: N bt config goes here
This commit is contained in:
parent
470cd7948a
commit
3d902b4468
|
@ -50,6 +50,8 @@ PRODUCT_COPY_FILES += \
|
|||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/bt_did.conf:system/etc/bluetooth/bt_did.conf \
|
||||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/ble_stack.conf:system/etc/bluetooth/ble_stack.conf \
|
||||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/bt_stack.conf:system/etc/bluetooth/bt_stack.conf \
|
||||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/bt_stack.conf.debug:system/etc/bluetooth/bt_stack.conf.debug \
|
||||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/bt_stack.conf.sqc:system/etc/bluetooth/bt_stack.conf.sqc \
|
||||
vendor/meizu/m2note/proprietary/system/etc/bluetooth/btconfig.xml:system/etc/bluetooth/btconfig.xml \
|
||||
vendor/meizu/m2note/proprietary/system/etc/custom.conf:system/etc/custom.conf \
|
||||
vendor/meizu/m2note/proprietary/system/etc/perfservscntbl.txt:system/etc/perfservscntbl.txt \
|
||||
|
|
|
@ -9,6 +9,8 @@ primaryRecord = true
|
|||
# 0x000F = Broadcom Corporation (default)
|
||||
#vendorId = 0x000F
|
||||
|
||||
vendorId = 0x0046
|
||||
|
||||
# Vendor ID Source
|
||||
# 0x0001 = Bluetooth SIG assigned Device ID Vendor ID value (default)
|
||||
# 0x0002 = USB Implementer’s Forum assigned Device ID Vendor ID value
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
BtSnoopLogOutput=false
|
||||
|
||||
# BtSnoop log output file
|
||||
BtSnoopFileName=/sdcard/btsnoop_hci.log
|
||||
BtSnoopFileName=/sdcard/mtklog/btlog/btsnoop_hci.log
|
||||
|
||||
# Preserve existing BtSnoop log before overwriting
|
||||
BtSnoopSaveLog=false
|
||||
|
@ -36,3 +36,74 @@ TRC_GATT=2
|
|||
TRC_SMP=2
|
||||
TRC_BTAPP=2
|
||||
TRC_BTIF=2
|
||||
TRC_GAP=2
|
||||
TRC_BNEP=2
|
||||
TRC_PAN=2
|
||||
|
||||
# PTS testing helpers
|
||||
|
||||
# Secure connections only mode.
|
||||
# PTS_SecurePairOnly=true
|
||||
|
||||
# Disable LE Connection updates
|
||||
#PTS_DisableConnUpdates=true
|
||||
|
||||
# Disable BR/EDR discovery after LE pairing to avoid cross key derivation errors
|
||||
#PTS_DisableSDPOnLEPair=true
|
||||
|
||||
# SMP Pair options (formatted as hex bytes) auth, io, ikey, rkey, ksize
|
||||
#PTS_SmpOptions=0xD,0x4,0xf,0xf,0x10
|
||||
|
||||
# SMP Certification Failure Cases
|
||||
# Fail case number range from 1 to 9 will set up remote device for test
|
||||
# case execution. Setting PTS_SmpFailureCase to 0 means normal operation.
|
||||
# Failure modes:
|
||||
# 1 = SMP_CONFIRM_VALUE_ERR
|
||||
# 2 = SMP_PAIR_AUTH_FAIL
|
||||
# 3 = SMP_PAIR_FAIL_UNKNOWN
|
||||
# 4 = SMP_PAIR_NOT_SUPPORT
|
||||
# 5 = SMP_PASSKEY_ENTRY_FAIL
|
||||
# 6 = SMP_REPEATED_ATTEMPTS
|
||||
# 7 = PIN generation failure?
|
||||
# 8 = SMP_PASSKEY_ENTRY_FAIL
|
||||
# 9 = SMP_NUMERIC_COMPAR_FAIL;
|
||||
#PTS_SmpFailureCase=0
|
||||
|
||||
###################################
|
||||
# #
|
||||
# Must enable MTK_STACK_CONFIG #
|
||||
# #
|
||||
###################################
|
||||
|
||||
[MtkBtConf]
|
||||
MtkStackConfigOverride=/sdcard/btsc
|
||||
|
||||
#
|
||||
# Control FW Log
|
||||
#
|
||||
[MtkBtFWLog]
|
||||
# FCBE switch
|
||||
# Ex. Disable FWlog to set C1 = 01 BE FC 01 00 / Enable FWlog to set C1 = 01 BE FC 01 05
|
||||
C1 = 01 BE FC 01 00
|
||||
# FC5F filter
|
||||
C2 = 01 5F FC 2A 50 01 09 00 00 00
|
||||
# FC5F group filter bitmap
|
||||
# SYS
|
||||
C201 = 00 00 00 00
|
||||
# TIM
|
||||
C202 = 00 00 00 00
|
||||
# PKV
|
||||
C203 = 00 00 00 00
|
||||
# LC
|
||||
C204 = 00 00 00 00
|
||||
# LL
|
||||
C205 = 00 00 00 00
|
||||
# ANT
|
||||
C206 = 00 00 00 00
|
||||
# LMP
|
||||
C207 = 00 00 00 00
|
||||
# CO
|
||||
C208 = 00 00 00 00
|
||||
# VOICE
|
||||
C209 = 00 00 00 00
|
||||
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
# Enable BtSnoop logging function
|
||||
# valid value : true, false
|
||||
BtSnoopLogOutput=true
|
||||
|
||||
# BtSnoop log output file
|
||||
BtSnoopFileName=/sdcard/mtklog/btlog/btsnoop_hci.log
|
||||
|
||||
# Preserve existing BtSnoop log before overwriting
|
||||
BtSnoopSaveLog=true
|
||||
|
||||
# Enable trace level reconfiguration function
|
||||
# Must be present before any TRC_ trace level settings
|
||||
TraceConf=true
|
||||
|
||||
# Trace level configuration
|
||||
# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated )
|
||||
# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages )
|
||||
# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages )
|
||||
# BT_TRACE_LEVEL_API 3 ( API traces )
|
||||
# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events )
|
||||
# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages )
|
||||
# BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only.
|
||||
TRC_BTM=6
|
||||
TRC_HCI=6
|
||||
TRC_L2CAP=6
|
||||
TRC_RFCOMM=6
|
||||
TRC_OBEX=6
|
||||
TRC_AVCT=6
|
||||
TRC_AVDT=6
|
||||
TRC_AVRC=6
|
||||
TRC_AVDT_SCB=6
|
||||
TRC_AVDT_CCB=6
|
||||
TRC_A2D=6
|
||||
TRC_SDP=6
|
||||
TRC_GATT=6
|
||||
TRC_SMP=6
|
||||
TRC_BTAPP=6
|
||||
TRC_BTIF=6
|
||||
TRC_GAP=6
|
||||
TRC_BNEP=6
|
||||
TRC_PAN=6
|
||||
|
||||
###################################
|
||||
# #
|
||||
# Must enable MTK_STACK_CONFIG #
|
||||
# #
|
||||
###################################
|
||||
|
||||
#
|
||||
# Control FW Log
|
||||
#
|
||||
[MtkBtFWLog]
|
||||
# FCBE switch - Enable
|
||||
# Ex. Disable FWlog to set C1 = 01 BE FC 01 00 / Enable FWlog to set C1 = 01 BE FC 01 05
|
||||
C1 = 01 BE FC 01 05
|
||||
# FC5F filter
|
||||
C2 = 01 5F FC 2A 50 01 09 00 00 00
|
||||
# FC5F group filter bitmap
|
||||
# SYS
|
||||
C201 = 01 00 00 00
|
||||
# TIM
|
||||
C202 = 00 00 00 00
|
||||
# PKV
|
||||
C203 = 01 00 00 00
|
||||
# LC
|
||||
C204 = 01 00 00 00
|
||||
# LL
|
||||
C205 = 01 00 00 00
|
||||
# ANT
|
||||
C206 = 01 00 00 00
|
||||
# LMP
|
||||
C207 = 01 00 01 00
|
||||
# CO
|
||||
C208 = 03 38 00 00
|
||||
# VOICE
|
||||
C209 = 01 00 00 00
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
# Enable BtSnoop logging function
|
||||
# valid value : true, false
|
||||
BtSnoopLogOutput=true
|
||||
|
||||
# BtSnoop log output file
|
||||
BtSnoopFileName=/sdcard/mtklog/btlog/btsnoop_hci.log
|
||||
|
||||
# Preserve existing BtSnoop log before overwriting
|
||||
BtSnoopSaveLog=true
|
||||
|
||||
# Enable trace level reconfiguration function
|
||||
# Must be present before any TRC_ trace level settings
|
||||
TraceConf=true
|
||||
|
||||
# Trace level configuration
|
||||
# BT_TRACE_LEVEL_NONE 0 ( No trace messages to be generated )
|
||||
# BT_TRACE_LEVEL_ERROR 1 ( Error condition trace messages )
|
||||
# BT_TRACE_LEVEL_WARNING 2 ( Warning condition trace messages )
|
||||
# BT_TRACE_LEVEL_API 3 ( API traces )
|
||||
# BT_TRACE_LEVEL_EVENT 4 ( Debug messages for events )
|
||||
# BT_TRACE_LEVEL_DEBUG 5 ( Full debug messages )
|
||||
# BT_TRACE_LEVEL_VERBOSE 6 ( Verbose messages ) - Currently supported for TRC_BTAPP only.
|
||||
TRC_BTM=6
|
||||
TRC_HCI=6
|
||||
TRC_L2CAP=6
|
||||
TRC_RFCOMM=6
|
||||
TRC_OBEX=6
|
||||
TRC_AVCT=6
|
||||
TRC_AVDT=6
|
||||
TRC_AVRC=6
|
||||
TRC_AVDT_SCB=6
|
||||
TRC_AVDT_CCB=6
|
||||
TRC_A2D=6
|
||||
TRC_SDP=6
|
||||
TRC_GATT=6
|
||||
TRC_SMP=6
|
||||
TRC_BTAPP=6
|
||||
TRC_BTIF=6
|
||||
TRC_GAP=6
|
||||
TRC_BNEP=6
|
||||
TRC_PAN=6
|
||||
|
||||
###################################
|
||||
# #
|
||||
# Must enable MTK_STACK_CONFIG #
|
||||
# #
|
||||
###################################
|
||||
|
||||
#
|
||||
# Control FW Log
|
||||
#
|
||||
[MtkBtFWLog]
|
||||
# FCBE switch - Disable
|
||||
# Ex. Disable FWlog to set C1 = 01 BE FC 01 00 / Enable FWlog to set C1 = 01 BE FC 01 05
|
||||
C1 = 01 BE FC 01 00
|
||||
# FC5F filter
|
||||
C2 = 01 5F FC 2A 50 01 09 00 00 00
|
||||
# FC5F group filter bitmap
|
||||
# SYS
|
||||
C201 = 00 00 00 00
|
||||
# TIM
|
||||
C202 = 00 00 00 00
|
||||
# PKV
|
||||
C203 = 00 00 00 00
|
||||
# LC
|
||||
C204 = 00 00 00 00
|
||||
# LL
|
||||
C205 = 00 00 00 00
|
||||
# ANT
|
||||
C206 = 00 00 00 00
|
||||
# LMP
|
||||
C207 = 00 00 00 00
|
||||
# CO
|
||||
C208 = 00 00 00 00
|
||||
# VOICE
|
||||
C209 = 00 00 00 00
|
||||
|
Loading…
Reference in New Issue