Bluefruit LE Sniffer operation

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
mboere
 
Posts: 6
Joined: Wed Sep 15, 2021 4:45 am

Bluefruit LE Sniffer operation

Post by mboere »

Hi,

Recently I bought the Bluefruit LE Sniffer from a well-known distributor in the USA. More and more devices have Bluetooth Low Energy, so I think your LE sniffer is very convenient.

I downloaded the manual “introducing-the-adafruit-bluefruit-le-sniffer.pdf”, I followed the guidelines written in the manual.

But soon I found out that the sniffer isn’t visible in Wireshark, within Wireshark I can see the extcap folder including the files and API.

I changed the batch file in the extcap folder but no luck.

Below the version info.

• Wireshark 3.4.8
• Silicon Laboratories 6.7.0.0 USB Driver
• Windows7 Professional 32 bit
• nrf_sniffer_for_bluetooth_le_4.0.0.zip
• Bluefruit LE Sniffer FIRWARE V2

I also tried on Window10 64 bit but nothing has changed so far, so what do I have to do to make the LE Sniffer visible (working) in Wireshark?

Kind regards,

Martin Boere

User avatar
Thinner
 
Posts: 7
Joined: Wed Jun 30, 2021 4:54 am

Re: Bluefruit LE Sniffer operation

Post by Thinner »

Hi,

you should always use the extcap folder belonging to your firmware version. If you have v2 on your device, use the extcap from here https://learn.adafruit.com/introducing- ... sniffer-v2

If this doesn't work and you have a J-Link by hand check your firmware version. My board was sold as firmware v2 but had firmware v1 flashed.

wbr

User avatar
mboere
 
Posts: 6
Joined: Wed Sep 15, 2021 4:45 am

Re: Bluefruit LE Sniffer operation

Post by mboere »

Hi,

I already changed the folder you refer to, but that’s for Python by the way and I use Windows.

I have no J-Link so I can’t check the Firmware version of your BLE sniffer, but It still isn’t visible in Wireshark.


Kind regards,

Martin

User avatar
Thinner
 
Posts: 7
Joined: Wed Jun 30, 2021 4:54 am

Re: Bluefruit LE Sniffer operation

Post by Thinner »

Hi,

use this guide: https://learn.adafruit.com/introducing- ... sniffer-v2

make sure the device is visible in device manager (COM&LPT)
install Wireshark 2.9.0: https://2.na.dl.wireshark.org/win64/all-versions/
install Python 2.7.x
install pyserial (open cmd, C:\python27\Scripts\pip2.exe install pyserial)
download extcap_2.0.0beta1.zip (don't know why it is no longer available at Adafruit.com)
copy extcap folder to c:\Program Files\Wireshark\
open cmd in extcap folder, execute nrf_sniffer.bat --extcap-interfaces
look for errors
start Wireshark
look for errors in c:\Users\%username%\AppData\Roaming\Nordic Semiconductor\Sniffer\logs\log.txt

wbr
Attachments
extcap_2.0.0beta1.zip
(41.09 KiB) Downloaded 7 times

User avatar
mboere
 
Posts: 6
Joined: Wed Sep 15, 2021 4:45 am

Re: Bluefruit LE Sniffer operation

Post by mboere »

Hi,

I followed your steps for install and that was successful. But I can’t find the file c:\Users\%username%\AppData\Roaming\Nordic Semiconductor\Sniffer\logs\log.txt, I that particular folder there is no such file.

Kind regards,

Martin

User avatar
mboere
 
Posts: 6
Joined: Wed Sep 15, 2021 4:45 am

Re: Bluefruit LE Sniffer operation

Post by mboere »

Hi,

When I execute the batch file “nrf_sniffer_ble.bat”, I get an error message in Wireshark itself.

Please refer to the attachment

Kind regards ,

Martin
Attachments
Error_Wireshark_16092021.jpg
Error_Wireshark_16092021.jpg (85.23 KiB) Viewed 299 times

User avatar
Thinner
 
Posts: 7
Joined: Wed Jun 30, 2021 4:54 am

Re: Bluefruit LE Sniffer operation

Post by Thinner »

Hi,

you are still using extcap from v4.0.0, this won't work.
You have to use extcap from v2.0.0beta1.

again: execute "nrf_sniffer.bat --extcap-interfaces"

wbr

User avatar
mboere
 
Posts: 6
Joined: Wed Sep 15, 2021 4:45 am

Re: Bluefruit LE Sniffer operation

Post by mboere »

Hi,

I changed to extcap folder and now It works! (Please refer to attachment). I changed the folder before but that was without the Python installation.

Thanks a lot!

Kind regards,

Martin
Attachments
nrf_sniffer_17092021.jpg
nrf_sniffer_17092021.jpg (111.97 KiB) Viewed 229 times

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”