This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to capture BLE packets using nrf52840 dongle in Wireshark

Hi,

My problem is that I can't sniff any advertising packet using Wireshark.

I have well followed the detailed procedure https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_sniffer_ble%2FUG%2Fsniffer_ble%2Fintro.html

The setup:

  • Linux Ubuntu

$ uname -a
Linux 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

  • nRF52840 dongle (PCA10059) using sniffer_nrf52840dongle_nrf52840_7cc811f.hex

$ python -m serial.tools.list_ports -v
/dev/ttyACM0        
    desc: nRF Sniffer for Bluetooth LE
    hwid: USB VID:PID=1915:522A SER=E4F7133D6E699013 LOCATION=1-4:1.0

  • Python 3.6
  • Wireshark 2.6.10
    • nRF Sniffer profile installed
    • Capture tool installed

$ python3.6 nrf_sniffer_ble.py --extcap-interfaces
extcap {version=3.1.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}{display=nRF Sniffer for Bluetooth LE}
control {number=0}{type=selector}{display=Device}{tooltip=Device list}
control {number=1}{type=string}{display=Passkey / OOB key}{tooltip=6 digit temporary key or 16 byte Out-of-band (OOB) key in hexadecimal starting with '0x', big endian format. If the entered key is shorter than 16 bytes, it will be zero-padded in front'}{validation=\b^(([0-9]{6})|(0x[0-9a-fA-F]{1,32}))$\b}
control {number=2}{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=3}{type=button}{role=help}{display=Help}{tooltip=Access user guide (launches browser)}
control {number=4}{type=button}{role=restore}{display=Defaults}{tooltip=Resets the user interface and clears the log file}
control {number=5}{type=button}{role=logger}{display=Log}{tooltip=Log per interface}
value {control=0}{value= }{display=All advertising devices}{default=true}

I am able to start the wireshark capture using "nRF Sniffer for Bluetooth LE:/dev/ttyACM0" but I am unable to visualize any packet in wireshark, screen is blank.

Any insight on this issue?

Thanks in advance,

Thomas

Related