Pad本上蓝牙是否可用检测如下:
> > 按下面步骤捕获日志hcidump log:
> > 1 turn on blutetooth
> > 2 use adb shell to logon the phone, and use "hcidump -B -w /sdcard/hcilog"
> > 3 start the test
> > 4 stop the hcidump when you test finish and send us the "hcilog" file.
C:\Users\kang-ibm>adb shell
$ hcidump -B -w /sdcard/hcilog
hcidump -B -w /sdcard/hcilog
hcidump: permission denied
$ hcidump -B -w /
hcidump -B -w /
hcidump: permission denied
权限不足是因为你们的pad的是user模式的,需要烧了工程模式的image后才能抓到hcidump数据。
另外user模式很多logcat的log也是看不到的。
Hcidump 名词解释
Hcidump不在bluez-utils包里,而是在单独的hcidump包里。主要用来分析捕获和分析HCI数据包,如果使用bluez过程中出了什么问题,用hcidump往往可以发现一些出错的线索,原因。 参数很多&