nRF sniffer for 802.15.4 with Wireshark on Linux

I am using PCA10059 with nrf802154_sniffer_dongle.hex file from [email protected]:NordicSemiconductor/nRF-Sniffer-for-802.15.4.git repository. I have programmed the dongle successfully using nRF Programmer on a Windows laptop. I now need to use it in a Linux enviroment (Ubuntu 20.04.4 LTS).

I am running the following version of Wireshark:

3.6.5 (Git v3.6.5 packaged as 3.6.5-1~ubuntu20.04.0+wiresharkdevstable)

Compiled (64-bit) using GCC 9.4.0, with Qt 5.12.8, with libpcap, with POSIX
capabilities (Linux), with libnl 3, with GLib 2.64.6, with zlib 1.2.11, with Lua
5.2.4, with GnuTLS 3.6.13 and PKCS #11 support, with Gcrypt 1.8.5, with MIT
Kerberos, with MaxMind DB resolver, with nghttp2 1.40.0, with brotli, with LZ4,
with Zstandard, with Snappy, with libxml2 2.9.10, with libsmi 0.4.8, with
QtMultimedia, without automatic updates, with SpeexDSP (using system library),
with Minizip.

Running on Linux 5.13.0-51-generic, with Intel(R) Core(TM) i7-7500U CPU @
2.70GHz (with SSE4.2), with 15886 MB of physical memory, with GLib 2.64.6, with
zlib 1.2.11, with Qt 5.12.8, with libpcap 1.9.1 (with TPACKET_V3), with c-ares
1.15.0, with GnuTLS 3.6.13, with Gcrypt 1.8.5, with nghttp2 1.40.0, with brotli
1.0.7, with LZ4 1.9.2, with Zstandard 1.4.4, with libsmi 0.4.8, with light
display mode, without HiDPI, with LC_TYPE=en_GB.UTF-8, binary plugins supported
(18 loaded).

I plug in the dongle and I can see it in the interfaces list as "nRF Sniffer for 802.15.4: /dev/ttyACM2":

The green LED is also flashing at about 1 second on, 1 second off. I set the channel, start capture and run a simple Tx/Rx test that tx'es 10 packets with ack. but it does not capture any packets. Note if I run exactly the same test with the same dongle using the Windows version of Wireshark (v3.6.3), it works, albeit with the 15 second startup issue, so this confirms the dongle is working.

I have also run the extcap Python script standalone and I get the following:

$ ./nrf802154_sniffer.py --extcap-interfaces
extcap {version=0.7.2}{help=github.com/.../nRF-Sniffer-for-802.15.4}{display=nRF Sniffer for 802.15.4}
interface {value=/dev/ttyACM2}{display=nRF Sniffer for 802.15.4}
control {number=6}{type=button}{role=logger}{display=Log}{tooltip=Show capture log}

Does anyone have any idea why this might not be working?

Parents Reply Children
No Data
Related