aboutsummaryrefslogtreecommitdiff
path: root/configs/bluetooth/bt_stack.conf.debug
diff options
context:
space:
mode:
Diffstat (limited to 'configs/bluetooth/bt_stack.conf.debug')
-rw-r--r--configs/bluetooth/bt_stack.conf.debug78
1 files changed, 78 insertions, 0 deletions
diff --git a/configs/bluetooth/bt_stack.conf.debug b/configs/bluetooth/bt_stack.conf.debug
new file mode 100644
index 0000000..13847b3
--- /dev/null
+++ b/configs/bluetooth/bt_stack.conf.debug
@@ -0,0 +1,78 @@
+# 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
+TRC_B3DS=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
+