Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

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
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

We recently purchased a Adafruit feather board based on nRF52840 module (Raytac): https://www.adafruit.com/product/4062

I followed the user guide to setup this board as BLE sniffer by using the mentioned firmware in user guide. But the hardware does not detect in Wireshark and not able to sniff the Bluetooth data. Please let me know how can you help on this?

User manual followed: https://cdn-learn.adafruit.com/download ... f52840.pdf
Product page: https://learn.adafruit.com/ble-sniffer-with-nrf52840

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

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by adafruit_support_carter »

Did you also go through the Python3/Wireshark setup stuff?
https://learn.adafruit.com/ble-sniffer- ... -wireshark

User avatar
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

Hi,

Yes, i have followed these steps as well.

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

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by adafruit_support_carter »

What OS are you using?

User avatar
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

Hi,

Windows 10 (64 bit).

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

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by adafruit_support_carter »

Does a COM port entry show up in Windows Device Manager when you plug in the Feather? Check the listing with the board removed, and then with it plugged in, to see what changes.

User avatar
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

Hi,

Sorry for the delay.

Yes, it detect the COM port in device manager.

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

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by adafruit_support_carter »

OK, so at least the firmware running on the Feather is creating a COM port.

Try skipping Wireshark and running the plugin directly to see if it can find the Feather. To do that, go to the extcap folder where you installed the plugin during this step:
https://learn.adafruit.com/ble-sniffer- ... in-3107741
and run the following:

Code: Select all

python3 nrf_sniffer_ble.py --extcap-interfaces
(replace "python3" with whatever is needed on your setup to invoke Python 3)

Paste the output you get here, which should look something like:

Code: Select all

extcap {version=4.0.0}{display=nRF Sniffer for Bluetooth LE}{help=https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer-for-Bluetooth-LE}
interface {value=/dev/ttyACM0-None}{display=nRF Sniffer for Bluetooth LE}
control {number=0}{type=selector}{display=Device}{tooltip=Device list}
control {number=1}{type=selector}{display=Key}{tooltip=}
control {number=2}{type=string}{display=Value}{tooltip=6 digit passkey or 16 or 32 bytes encryption key in hexadecimal starting with '0x', big endian format.If the entered key is shorter than 16 or 32 bytes, it will be zero-padded in front'}{validation=\b^(([0-9]{6})|(0x[0-9a-fA-F]{1,64})|([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}) (public|random))$\b}
control {number=3}{type=string}{display=Adv Hop}{default=37,38,39}{tooltip=Advertising channel hop sequence. Change the order in which the siffer switches advertising channels. Valid channels are 37, 38 and 39 separated by comma.}{validation=^\s*((37|38|39)\s*,\s*){0,2}(37|38|39){1}\s*$}{required=true}
control {number=7}{type=button}{display=Clear}{tooltop=Clear or remove device from Device list}
control {number=4}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}
control {number=5}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}
control {number=6}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}
value {control=0}{value= }{display=All advertising devices}{default=true}
value {control=1}{value=0}{display=Legacy Passkey}{default=yes}
value {control=1}{value=1}{display=Legacy OOB data}
value {control=1}{value=2}{display=Legacy LTK}
value {control=1}{value=3}{display=SC LTK}
value {control=1}{value=4}{display=SC Private Key}
value {control=1}{value=5}{display=LE address}

User avatar
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

Hi,

i will check this and share you the update.

User avatar
kmakhilmchp
 
Posts: 10
Joined: Tue Nov 08, 2022 1:26 am

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by kmakhilmchp »

Hi,

Please check the output log as requested:

extcap {version=4.1.1}{display=nRF Sniffer for Bluetooth LE}{help=https://www.nordicsemi.com/Software-and ... uetooth-LE}
control {number=0}{type=selector}{display=Device}{tooltip=Device list}
control {number=1}{type=selector}{display=Key}{tooltip=}
control {number=2}{type=string}{display=Value}{tooltip=6 digit passkey or 16 or 32 bytes encryption key in hexadecimal starting with '0x', big endian format.If the entered key is shorter than 16 or 32 bytes, it will be zero-padded in front'}{validation=\b^(([0-9]{6})|(0x[0-9a-fA-F]{1,64})|([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}) (public|random))$\b}
control {number=3}{type=string}{display=Adv Hop}{default=37,38,39}{tooltip=Advertising channel hop sequence. Change the order in which the sniffer switches advertising channels. Valid channels are 37, 38 and 39 separated by comma.}{validation=^\s*((37|38|39)\s*,\s*){0,2}(37|38|39){1}\s*$}{required=true}
control {number=7}{type=button}{display=Clear}{tooltop=Clear or remove device from Device list}
control {number=4}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}
control {number=5}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}
control {number=6}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}
value {control=0}{value= }{display=All advertising devices}{default=true}
value {control=0}{value=[00,00,00,00,00,00,0]}{display=Follow IRK}
value {control=1}{value=0}{display=Legacy Passkey}{default=true}
value {control=1}{value=1}{display=Legacy OOB data}
value {control=1}{value=2}{display=Legacy LTK}
value {control=1}{value=3}{display=SC LTK}
value {control=1}{value=4}{display=SC Private Key}
value {control=1}{value=5}{display=IRK}
value {control=1}{value=6}{display=Add LE address}
value {control=1}{value=7}{display=Follow LE address}

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

Re: Adafruit nRF52840 Feather not detecting as BLE sniffer in Wireshark

Post by adafruit_support_carter »

Thanks. It looks like it's not being found at that step. That explains why it's also not showing up in Wireshark.

Just to check the original firmware install:
* You were able to get the FTHR840BOOT folder to show up OK?
* The file dragged to the BOOT folder was named sniffer_nrf52840dongle_4.1.0.uf2 ?
* The copying of the UF2 seemed to work OK? (no errors or anything?)

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

Return to “Wireless: WiFi and Bluetooth”