如何查看蓝牙耳机的蓝牙版本
拿到一个蓝牙耳机,客服说是 BLE 5.0,但是感觉不像,怎么判定呢?
准备工作
安装 wireshark 工具
MIUI 系统手机
蓝牙设备
开始抓取蓝牙日志
在拨号盘输入一次
*#*#5959#*#*
,同意并开始开始收集蓝牙日志蓝牙耳机会提示蓝牙设备已断开,之后又提示已连接
拨号盘再输入一次
*#*#5959#*#*
,停止收集蓝牙日志,并同意保存日志文件到MIUI/debug_log/common/com.android.bluetooth/btsnoop_hci.log

传输 Log 到电脑
btsnoop_hci.log
是二进制文件,需要使用 wireshark 工具查看。

文本文件,使用如果没有安装 wireshark ,可以使用记事本等文本编辑器查看。

通过日志查看蓝牙版本
使用 wireshark 打开 btsnoop_hci.log 日志文件
快捷键
Control + F
打开查找,字符串查找,查找Read Remote Version Information Complete
。

复制代码
看到 LMP Version: 4.1 (0x07),比较 Link Manager Protocol.pdf (windows.net)。

得知 4.1 (0x07) 对应 Bluetooth Core Specification 4.1
。
评论