windows下搭建nrf52832nordic_ble_sniffer_3.0+wireshark抓包环境

准备工具

pythone3.7安装包
https://www.python.org/ftp/python/3.7.7/python-3.7.7-amd64.exe

Wireshark-win64-3.2.3安装包
https://1.as.dl.wireshark.org/win64/Wireshark-win64-3.2.3.exe

nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3软件包
https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-Sniffer/sw/nrfsnifferforbluetoothle300129d2b3.zip

安装pythone3.7

勾选最下面选项自动配置环境变量,install

打开cmd测试python是否正确配置

正常情况下可以看到python版本号,完成安装

安装nrf sniffer capture tool

解压nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3软件包,cmd cd到extcap目录里面

cmd运行以下命令

python -m pip install --upgrade pip

pip3 install -r requirements.txt

安装并配置wireshark

安装Wireshark-win64-3.2.3,一路next/agree

打开wireshark->帮助->关于wireshark->文件夹

复制nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3/extcap里的所有文件到新打开的窗口

复制nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3/Profile_nRF_Sniffer_Bluetooth_LE配置文件到profile文件夹

ctrl+shift+a选中配置文件

烧录目标板

把nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3/hex/sniffer_pca10040_129d2b3.hex烧录到

PCA10040 目标板(也就是nrf52832),可选方法有很多,可以用jlink配套图形烧录工具、命令行工具亦或用nordic的studio进行烧录,总之就是能烧进去就行

连接PCA10040 目标板,重新打开一下wireshark,就可以看到nrf sniffer选项了

好了,环境搭建完成,怎么用可以百度或者看我下一篇文章(暂时还没空写)

posted @ 2020-04-27 19:01  BeeFlow  阅读(1818)  评论(0编辑  收藏  举报