android bluedroid调试
来源:互联网 发布:手机游戏网络加速器 编辑:程序博客网 时间:2024/06/05 14:51
Android设备中,通常有一个文件(/etc/bluetooth/bt_stack.conf)可以设置调试参数
将BtSnoopLogOutput设置为true,就可以将协议包写入文件BtSnoopFileName
将TraceConf设置为true,就可以设置bluedroid对应模块的log输出,比如讲TRC_HCI设置成5,HCI的所有debug信息就会打开,在log中可以看到
# Enable BtSnoop logging function# valid value : true, falseBtSnoopLogOutput=true # BtSnoop log output fileBtSnoopFileName=/data/misc/bluedroid/btsnoop_hci.log # Enable trace level reconfiguration function# Must be present before any TRC_ trace level settingsTraceConf=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 )TRC_BTM=5TRC_HCI=5TRC_L2CAP=5TRC_RFCOMM=5TRC_OBEX=5TRC_AVCT=5TRC_AVDT=5TRC_AVRC=5TRC_AVDT_SCB=5TRC_AVDT_CCB=5TRC_A2D=5TRC_SDP=5TRC_GATT=5TRC_SMP=5TRC_BTAPP=5
0 0
- android bluedroid调试
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(一):BlueDroid概述
- Android BlueDroid(二)
- Android BlueDroid(三)
- android bluedroid架构
- Android bluedroid GATT简述
- Android bluedroid模块间关系
- Bluedroid - Android M - 平台介绍
- Android BlueDroid 分析之扫描
- Android BlueDroid(二):BlueDroid蓝牙开启过程init
- Android BlueDroid(三):BlueDroid蓝牙开启过程enable
- 诸葛:三个原因,毁了数据分析态度
- BoW图像检索Python实战
- Activemq配置——Jaas方式配置用户登录验证
- 修改Tomcat默认编码
- Java创建二叉树及其遍历的递归和非递归实现
- android bluedroid调试
- UVA 11054 - Wine trading in Gergovia
- Repo 下载路径
- Flume NG源码分析(三)使用Event接口表示数据流
- Qt开发ActiveX及环境搭建
- C++中的单例模式
- Windows Server2012 虚拟机复制及故障转移(Part4)
- Ubuntu系统如何安装双网卡及更改网卡名称(eth0改为eth1)
- 探访美国创客空间之TechShop:商业化的迷你工厂