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.
Can't capture packets using Bluefruit LE Sniffer - nRF51822
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- _jeet_rami_
- Posts: 6
- Joined: Sun Dec 05, 2021 11:12 am
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
Did you follow this process for initial setup?
https://learn.adafruit.com/introducing- ... nd-python3
https://learn.adafruit.com/introducing- ... nd-python3
- _jeet_rami_
- Posts: 6
- Joined: Sun Dec 05, 2021 11:12 am
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
Yeah I didadafruit_support_carter wrote:Did you follow this process for initial setup?
https://learn.adafruit.com/introducing- ... nd-python3
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
Are you sure there are packets to be sniffed? It looks sort of dead if not:
https://learn.adafruit.com/introducing- ... ep-3104990
https://learn.adafruit.com/introducing- ... ep-3104990
- MrDee
- Posts: 8
- Joined: Tue Dec 07, 2021 1:10 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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&hi ... ex#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
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&hi ... ex#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
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&hi ... er#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.
viewtopic.php?f=53&t=183340&p=890857&hi ... er#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
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&hi ... er#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.
viewtopic.php?f=53&t=183340&p=890857&hi ... er#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.
- adafruit_support_carter
- Posts: 29056
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
@MrDee Please start a new thread for your issue.
- MrDee
- Posts: 8
- Joined: Tue Dec 07, 2021 1:10 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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,
it's wasted 2 days of development time on the project I am working on now,
- _jeet_rami_
- Posts: 6
- Joined: Sun Dec 05, 2021 11:12 am
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
Now I'm also facing same problem. Will flashing the latest firmware solve the problem?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&hi ... ex#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
- _jeet_rami_
- Posts: 6
- Joined: Sun Dec 05, 2021 11:12 am
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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?
- adafruit2
- Posts: 22111
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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
adalink -v nrf51822 -p jlink -h sniffer_pca10028_51296aa.hex
but you could definitely nrfprog with a jlink connected to the swd pads
- Attachments
-
[The extension hex has been deactivated and can no longer be displayed.]
- _jeet_rami_
- Posts: 6
- Joined: Sun Dec 05, 2021 11:12 am
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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.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
- adafruit2
- Posts: 22111
- Joined: Fri Mar 11, 2005 7:36 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
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
- MrDee
- Posts: 8
- Joined: Tue Dec 07, 2021 1:10 pm
Re: Can't capture packets using Bluefruit LE Sniffer - nRF51
Hi, I started another thread but have not received any reply.adafruit_support_carter wrote:@MrDee Please start a new thread for your issue.
Please be positive and constructive with your questions and comments.