Bloggers push! ! NRF52832 BLE packet capture sniffer is here! Comes with installation instructions

In the process of developing Bluetooth BLE, we often use sniffer, that is, a packet capture tool to locate problems, so we have developed a low-cost BLE packet capture tool for everyone to use.

The location of the entire Bluetooth packet capture is as follows:

The products are as follows:

------------------------------------------------------------------------------------------------------------------------------------------

入手BLE Sniffer:https://item.taobao.com/item.htm?spm=a1z10.1-c-s.w4004-22329603896.18.5aeb41f973iStr&id=622836061708

------------------------------------------------------------------------------------------------------------------------------------------

The product has the following advantages:

  • High-end black with removable case
  • Reserve SWD programming interface, which can support secondary development, such as the development of BLE dongle/BLE controller/Mesh Node, etc.
  • Using the original NRF52832 chip, strong stability
  • Adopt product-level USB to serial port chip CP2102
  • ESD anti-static design

Summary of installation steps:

0. Install software download

Follow the official account and send " BLE packet capture software " to get it

1. Wireshark 3.4 installation

1) Double add the Wireshark installer, pop up to install the serial port, click Next

2) Click on Noted

3) Click Next

4) Continue to click Next

5) Just install it in the default path, continue to click Next

6) Check Install Npcap 1.00 and continue to click Next

7) Check Install USBPcap 1.5.4.0, continue to click Next

8) The installation of Npcap will pop up in the middle, click I Agree

9) All checked, click Install

10) Jump out the USBPcap installation in the middle, check I accept, click Next

11) All checked, click Next

12) Default path installation, click Install

13) After the installation is complete, click Close

14) Wireshark is installed, click Next

15) Then restart the computer, Wireshark is installed

NOTED: It is best to run Wireshark as an administrator, otherwise each packet capture node will always prompt for administrator privileges, and sometimes Wireshark will crash

2. Install the CP2102 driver

Plug in the Wireless Link NRF52832, and check whether the device is recognized in the computer management. My computer has already been installed, so it looks like this:

But let me explain how to install this driver:

1) Right-click to select the unrecognized CP2102, and select Update Driver

2) Select Browse my computer for driver software

3) Select the path of the CP2102 driver in the information we gave, and click Next

4) The driver is updated

3. Install Python 2.7

1) Click python-2.7.14.amd64.msi to install, click Next

2) BrainlessNext

3) BrainlessNext

4) Wait for the installation to complete, click Finish

5) Open the variables of the compilation environment environment (I will not open the black face ), find the Path, and click Edit

6) Create two new environment variables, as shown in the figure (note that this path is the path where you installed Python)

7) To verify the Python installation, type python -V at the command prompt

8) Install pyserial, type pip install pyserial in the command prompt interface

NOTED: I was prompted for this, but I didn't choose to upgrade

4.  Wireshark setup NRF52832 Sniffer

1) Open the Wireshark we just installed with administrator privileges , open "Help" in the menu, find about Wireshark, click on

2) Click the "Folder" menu to open the Global Extcap path

3) Unzip the nrf_sniffer_for_bluetooth_le_2.0.0_c87e17d.zip in the data,

Copy the content in the decompressed content folder extcap to the path of step 2), as shown in the figure:

4) Enable the NRF Sniffer function, and check the interface toolbar in the menu "View"

5) At this point, we can grab the bag and spread the flowers!

5.  Keep improving, configure Profile

Although we can capture the package above, we need to update the Profile:

1) Open About Wireshark in the help menu, find the personal configuration, and copy the folder path

2) Copy the entire Profile_nRF_Sniffer_v2_001 in nrf_sniffer_for_bluetooth_le_2.0.0_c87e17d to the folder in step 1)

3) Click "Edit" in the menu to open configuration Profiles

4) Add a configuration file

5) Finally finally done

 

Guess you like

Origin blog.csdn.net/XiaoXiaoPengBo/article/details/115156929