【发布时间】:2021-04-09 21:12:16
【问题描述】:
我正在尝试在 Android 10 上实时捕获从我的三星 A51 发送的蓝牙流量:
- 蓝牙 HCI 监听日志已在手机上启用,启用后我切换了蓝牙。我可以通过 从手机下载错误报告,其中包括 btsnoop_hci 文件
>adb bugreport
- adb 已连接:
>adb devices
List of devices attached
R58N427J7TD device
- androiddump 有效,但仅显示 Logcat 接口。我缺少蓝牙接口:
>androiddump --extcap-interfaces
extcap {version=1.1.0}{help=file:///C:/Program%20Files/Wireshark/extcap/androiddump.html}
interface {value=android-logcat-text-main-R58N427J7TD}{display=Android Logcat Main SM_A515F R58N427J7TD}
interface {value=android-logcat-text-system-R58N427J7TD}{display=Android Logcat System SM_A515F R58N427J7TD}
interface {value=android-logcat-text-radio-R58N427J7TD}{display=Android Logcat Radio SM_A515F R58N427J7TD}
interface {value=android-logcat-text-events-R58N427J7TD}{display=Android Logcat Events SM_A515F R58N427J7TD}
interface {value=android-logcat-text-crash-R58N427J7TD}{display=Android Logcat Crash SM_A515F R58N427J7TD}
https://www.wireshark.org/docs/man-pages/androiddump.html 上的官方文档没有帮助,但它们确实让我想知道是否需要配置蓝牙服务器端口?
任何其他想法为什么没有蓝牙界面出现?同样在 Wireshark App UI 中,我只能找到上面列出的接口。
【问题讨论】:
标签: android bluetooth wireshark hci btsnoop