Can't connect to Bluefruit BLE sniffer

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
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

I'm currently not able to connect to the Bluefruit BLE sniffe. I have followed all instructions to install and setup everything. I have looked at all posts at the forum and internet with no luck as well. When I run the Python Script with command eg. nrf_sniffer_ble.py --extcap-interfaces, I don't see the any BLE sniffer listed.

According to
https://infocenter.nordicsemi.com/index ... lugin.html there should be listed a com port under interfaces but non are shown.
missing interface.png
missing interface.png (97.5 KiB) Viewed 274 times


Tried to install on 3 different windows 10 PC, I have done the following with no success
1. Installed CP210x_VCP_Windows driver and verified that com port port is available - in my case port 3
2. Installed Python v. 3.x and verified that no other versions are running on the pc
3. Installed pyserial and verified that it works.
4. Installed wireshark
5. copied all files in the extcap folder to wireshark extcap folder.
6. The Bluefruit unit is flashing to times then pause I have also tried mode with 3 flashes.

should I set up the Bluefruit in a special mode or upload firmware to it?

Please help
installed usb to uart .png
installed usb to uart .png (22.88 KiB) Viewed 274 times

User avatar
adafruit_support_carter
 
Posts: 29159
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't connect to Bluefruit BLE sniffer

Post by adafruit_support_carter »

The fact it's not showing up as an option when launching Wireshark seems to indicate an issue with setting up the plugin.

Were you following this page for setup?
https://learn.adafruit.com/introducing- ... nd-python3

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

Thanks for replay

yes I have followed the instruction on 3 different PC's. With latest versions and the versions described in the instruction.

When I look into Wireshark under "about" and under the tab "plugin" the plugin is listed as "nrf_sniffer_ble.bat". But not listed on the main page under "Capture options". When I execute the python nrf_sniffer_ble.py script with the command --extcap-interfaces I cant see interface listed as COM3(current comport) no interfaces are listed, so maybe the script don't see the blue fruit?

User avatar
adafruit_support_carter
 
Posts: 29159
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't connect to Bluefruit BLE sniffer

Post by adafruit_support_carter »

Let's double check the hardware. Are you using one of these?
https://www.adafruit.com/product/2269

Was this ordered directly from Adafruit or through a reseller?

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

Yes I got the Bluefruit LE Sniffer - Bluetooth Low Energy (BLE 4.0) - nRF51822 - from your site not via reseller

I have connected to it via tera term and I get the following ATI respond

BLEFRIEND32
nRF51822 0x00D6
D991228BC94A0A0D
0.6.2
0.6.2
Apr 30 2015
S110 8.0.0, 0.2
OK

User avatar
adafruit_support_carter
 
Posts: 29159
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't connect to Bluefruit BLE sniffer

Post by adafruit_support_carter »

OK, thanks for verifying. And just to recheck and verify, you copied all of these files from the zip into the Wireshark extcap folder?
https://learn.adafruit.com/assets/105804

But when you launch Wireshark, you don't get the expected entry?
https://learn.adafruit.com/assets/105802

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

yes I copied all the files and I don't get the entry in wireshark

User avatar
adafruit_support_carter
 
Posts: 29159
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't connect to Bluefruit BLE sniffer

Post by adafruit_support_carter »

What version of Wireshark are you using? We can try running through all this again on our end and see if we can recreate the same behavior. Maybe something has changed?

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

Im using wireshark 3.6.6
Python 3.9.13
nRF sniffer version 4.0.0 also tried 4.0.1
CP210x_VCP_Windows driver download v6.7

The wireshark interface toolbar is avalible but no interface Can be selected.

As mentioned earlyer I tried to run the Python script and it does not show any interfaces with the interface command. It seams to stop in the code for some reasion. I have tried debugging the UART Python script and here i’m able to make the code detect the dongle. But Main scripts fails somehow.

User avatar
hathach
 
Posts: 1270
Joined: Tue Apr 23, 2013 1:02 am

Re: Can't connect to Bluefruit BLE sniffer

Post by hathach »

The sniffer does not response with ATI command, I think you probably having the LE Friend instead of the sniffer one
- LE Friend : https://www.adafruit.com/product/2267
- LE Sniffer: https://www.adafruit.com/product/2269

They have the same hardware but different firmware. The sniffer use special firmware for sniffing. Please double check your order to see if the store ship the wrong one, Or maybe you have both of them and pick the wrong version.
RolandHansen wrote:Yes I got the Bluefruit LE Sniffer - Bluetooth Low Energy (BLE 4.0) - nRF51822 - from your site not via reseller

I have connected to it via tera term and I get the following ATI respond

BLEFRIEND32
nRF51822 0x00D6
D991228BC94A0A0D
0.6.2
0.6.2
Apr 30 2015
S110 8.0.0, 0.2
OK

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

It the friend version I have ordener unfurtunaly, so now it all maked sense.

1 x Bluefruit LE Friend - Bluetooth Low Energy (BLE 4.0) - nRF51822 (v3.0)
[ID:2267] = $19.95

Is it posible for me to upload the right sniffer firmware ?

Cheers

User avatar
hathach
 
Posts: 1270
Joined: Tue Apr 23, 2013 1:02 am

Re: Can't connect to Bluefruit BLE sniffer

Post by hathach »

you will need an jlink and connect/tap to SWD pad under the board to change the firmware. Since the Friend and Sniffer are not compatible, which sinffer is directly from Nordic. However if you have one of our nrf52840 board, you could use it as sniffer. nRF52840 come with usb and that makes switching firmware without any extra debugger. Here is the learn guide to do so https://learn.adafruit.com/ble-sniffer-with-nrf52840 (note you need to run bootloader at least 0.6.0 first).

User avatar
RolandHansen
 
Posts: 7
Joined: Wed Jul 20, 2022 10:19 am

Re: Can't connect to Bluefruit BLE sniffer

Post by RolandHansen »

Ok Thanks for support

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

Return to “Wireless: WiFi and Bluetooth”