1.python3安装
pip3 install pyserial
wireshark安装
2. nrf插件安装
找到wireshark extap位置
将解压后的nrf压缩包种extap目录下的内容放入wireshark目录下的extap
安装后可用cmd进入路径
使用 nrf_sniffer_ble.bat --extcap-interfaces 测试nrf是否安装好
3.打开wireshark可以看到BLE sniffer接口
4.btle过滤
https://www.wireshark.org/docs/dfref/b/btle.html 规则说明网站
btle.advertising_header == 0x2540 根据广播头过滤
btle.advertising_address == 71:61:3c:7d:35:f0 根据广播mac地址过滤