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選項了

好了,環境搭建完成,怎么用可以百度或者看我下一篇文章(暫時還沒空寫)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM