Due to high demand expect some shipping delays at this time, orders may not ship for 3-4 business days. On MLK Day no orders will be shipped.
0

Can't capture packets using Bluefruit LE Sniffer - nRF51822
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Can't capture packets using Bluefruit LE Sniffer - nRF51822

by _jeet_rami_ on Sun Dec 05, 2021 11:32 am

Hello,

I have below adafruit Bluefruit LE Sniffer.

https://www.adafruit.com/product/2269

I setup everything and in wireshark I can see the LE sniffer interface but when I start capturing it's not capturing even single packet. Even the script which wireshark use is nrf_sniffer_ble.sh which don't give any errors. After that I tried below mentioned GitHub repo.

https://github.com/adafruit/Adafruit_BLESniffer_Python

Script run properly without any error and it start capturing packets and store it in pcap file. When I open that cap file in wireshark it show some completely different packets which I don't know about.

Can anyone tell me where I'm going wrong?

Thanks in advance.

_jeet_rami_
 
Posts: 6
Joined: Sun Dec 05, 2021 11:12 am

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by adafruit_support_carter on Mon Dec 06, 2021 2:25 pm

Did you follow this process for initial setup?
https://learn.adafruit.com/introducing- ... nd-python3

adafruit_support_carter
 
Posts: 22288
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by _jeet_rami_ on Mon Dec 06, 2021 2:29 pm

adafruit_support_carter wrote:Did you follow this process for initial setup?
https://learn.adafruit.com/introducing- ... nd-python3

Yeah I did

_jeet_rami_
 
Posts: 6
Joined: Sun Dec 05, 2021 11:12 am

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by adafruit_support_carter on Mon Dec 06, 2021 6:01 pm

Are you sure there are packets to be sniffed? It looks sort of dead if not:
https://learn.adafruit.com/introducing- ... ep-3104990

adafruit_support_carter
 
Posts: 22288
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by MrDee on Tue Dec 07, 2021 1:15 pm

I have just bought one of these

https://thepihut.com/products/adafruit- ... 0-nrf51822

"Bluefruit LE Sniffer - Bluetooth Low Energy (BLE 4.0) - nRF51822 (Firmware Version 2)"

and tried to use it to day and have the same problem, I cannot capture ATT/HCI packets.

This has also been flagged up here:

viewtopic.php?f=53&t=167173&p=879385&hilit=Sniffer.hex#p818982

and was fixed with a firmware update, however, I have no mechanism or the new firmware file to do this.

That post says the version of the FW they had in the device originally was meant to be v2 but it matched the v101 file but an upgrade to V3 works ( they must have a mechanism for updating the firmware ).

Can someone tell us how to capture ATT packets without changing the FW or provide us with a mechanism to upgarde the devices.

A bluetooth packet sniffer that wont sniff is not much use.

P.S. I should add, I can see the all the "LE LL" protocol data for multiple devices but no ATT or other protocol level

MrDee
 
Posts: 8
Joined: Tue Dec 07, 2021 1:10 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by MrDee on Wed Dec 08, 2021 6:11 am

I gave this another go today and followed the instructions provided here for Python 2.7 install

viewtopic.php?f=53&t=183340&p=890857&hilit=sniffer#p890857

This gives me the same result, only "LE LL" packets are picked up.

I've tried re-connecting several devices several times to see if I get anything other than LE LL packets but I dont.

I suspect i've been sold a V1 firmware unit dressed up as a V2 and I am very unhappy about this.

If someone can confirm that there is no way to change the firmware on the dongle then I can send it back to the PiHut people and demand a refund.

MrDee
 
Posts: 8
Joined: Tue Dec 07, 2021 1:10 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by MrDee on Wed Dec 08, 2021 6:11 am

I gave this another go today and followed the instructions provided here for Python 2.7 install

viewtopic.php?f=53&t=183340&p=890857&hilit=sniffer#p890857

This gives me the same result, only "LE LL" packets are picked up.

I've tried re-connecting several devices several times to see if I get anything other than LE LL packets but I dont.

I suspect i've been sold a V1 firmware unit dressed up as a V2 and I am very unhappy about this.

If someone can confirm that there is no way to change the firmware on the dongle then I can send it back to the PiHut people and demand a refund.

MrDee
 
Posts: 8
Joined: Tue Dec 07, 2021 1:10 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by adafruit_support_carter on Wed Dec 08, 2021 10:38 am

@MrDee Please start a new thread for your issue.

adafruit_support_carter
 
Posts: 22288
Joined: Tue Nov 29, 2016 2:45 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by MrDee on Wed Dec 08, 2021 10:39 am

A reply from Admin on this common issue would be really appreciated.

it's wasted 2 days of development time on the project I am working on now,

MrDee
 
Posts: 8
Joined: Tue Dec 07, 2021 1:10 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by _jeet_rami_ on Sun Dec 12, 2021 10:37 am

MrDee wrote:I have just bought one of these

https://thepihut.com/products/adafruit- ... 0-nrf51822

"Bluefruit LE Sniffer - Bluetooth Low Energy (BLE 4.0) - nRF51822 (Firmware Version 2)"

and tried to use it to day and have the same problem, I cannot capture ATT/HCI packets.

This has also been flagged up here:

viewtopic.php?f=53&t=167173&p=879385&hilit=Sniffer.hex#p818982

and was fixed with a firmware update, however, I have no mechanism or the new firmware file to do this.

That post says the version of the FW they had in the device originally was meant to be v2 but it matched the v101 file but an upgrade to V3 works ( they must have a mechanism for updating the firmware ).

Can someone tell us how to capture ATT packets without changing the FW or provide us with a mechanism to upgarde the devices.

A bluetooth packet sniffer that wont sniff is not much use.

P.S. I should add, I can see the all the "LE LL" protocol data for multiple devices but no ATT or other protocol level


Now I'm also facing same problem. Will flashing the latest firmware solve the problem?

_jeet_rami_
 
Posts: 6
Joined: Sun Dec 05, 2021 11:12 am

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by _jeet_rami_ on Sun Dec 12, 2021 10:46 am

I have Segger J-Link with me but can you guys please assist that which firmware I need to flash so I can sniff ATT / HCI packets too?

_jeet_rami_
 
Posts: 6
Joined: Sun Dec 05, 2021 11:12 am

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by adafruit2 on Sun Dec 12, 2021 3:53 pm

its been a long time since we switched to v2 firmware (2018) in our programmers - here's the hex file, we program it with adalink using this command:
adalink -v nrf51822 -p jlink -h sniffer_pca10028_51296aa.hex
but you could definitely nrfprog with a jlink connected to the swd pads
Attachments
sniffer_pca10028_51296aa.hex
(37.55 KiB) Downloaded 2 times

adafruit2
Site Admin
 
Posts: 20484
Joined: Fri Mar 11, 2005 7:36 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by _jeet_rami_ on Sun Dec 12, 2021 4:42 pm

adafruit2 wrote:its been a long time since we switched to v2 firmware (2018) in our programmers - here's the hex file, we program it with adalink using this command:
adalink -v nrf51822 -p jlink -h sniffer_pca10028_51296aa.hex
but you could definitely nrfprog with a jlink connected to the swd pads


Thanks alot for giving the command. It will really help me. One more thing I want to ask, in documentation it was mentioned to use nrf sniffer 4.0.0 extcap because at that time that was the latest but now 4.1.0 version is available and I used latest version. Is it possible that because of using latest version of nrf sniffer, we couldn't sniff ATT/HCI packets? And there's any other reason? Because looking at the scenario it seems like using the older firmware can only be the reason.

_jeet_rami_
 
Posts: 6
Joined: Sun Dec 05, 2021 11:12 am

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by adafruit2 on Sun Dec 12, 2021 6:42 pm

we dont think so - we do know that the channel for BLE can be 1 to 3 and the sniffer only works on one channel at a time - not sure if that is relevant

adafruit2
Site Admin
 
Posts: 20484
Joined: Fri Mar 11, 2005 7:36 pm

Re: Can't capture packets using Bluefruit LE Sniffer - nRF51

by MrDee on Mon Dec 13, 2021 7:55 am

adafruit_support_carter wrote:@MrDee Please start a new thread for your issue.


Hi, I started another thread but have not received any reply.

MrDee
 
Posts: 8
Joined: Tue Dec 07, 2021 1:10 pm

Please be positive and constructive with your questions and comments.