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

Wireshark cannot find interface to nRF51 dongle



I have used an nRF 51 dongle for capturing BLE packets on my Mac using Wireshark,, but it no longer works.
The only system change that I can recall that might affect this is that
I recently upgraded to Mac OSX Catalina Version 10.15.5, which was an incremental update.

The usb connection and dongle must be in good shape, because I am to run nRF Connect v3.4.1 - Bluetooth Low Energy successfully.

I am using nrf_sniffer_for_bluetooth_le_3.0.0_129d2b3.zip
To be sure that the problem is not related to Wireshark or its configuration, I have been testing with:
extcap/nrf_sniifer_ble.sh --extcap-interfaces

And, it is never able to find an interface.  It does not generate an error, but does not find an interface.
Can you suggest a solution and/or additional tests to run?

Thank you !

Parents
  • Yes.  I used sniffer_pca10031_129d2b3.hex after checking the sticker on the dongle.

    How does Bluetooth Low Energy app interact with the dongle?  As I mentioned, I am able to use it successfully with the dongle.

    I expected that it used the same code on the dongle as what is used for the Wireshark  interface.  Is this true?

  • It is not the same application. The Bluetooth Low Energy app is an application that takes serial commands from the computer, and scans for and connects to a device, pretty much like the examples in the SDK. Then it reports events and changes in characteristics back to the computer. 

    The Sniffer application is not using the softdevice, like the SDK does. It is a custom FW that will scan for advertisement packets on channel 37. When it receives this, it switches to 38 and tries to catch that same packet on that channel, and then on channel 39. It is possible to tell the sniffer FW (via serial from computer) to follow a specific device. If so, it will filter out anything that is not related to that device. It will also follow that device into a connection. Just picking up the connection request, and the channel map, and continue to sniff the packets from both the peripheral an central in that connection. This is not at all possible using the Softdevice that is used in nRF Connect -> Bluetooth Low energy. The sniffer is not capable of connecting to a device on it's own. Only follow a device into a connection. The sniffer will never transmit a packet. Only listen, and dump the relevant data over serial.

    So does this mean that the sniffer is working, or did I misunderstand?

    Best regards,

    Edvin

Reply
  • It is not the same application. The Bluetooth Low Energy app is an application that takes serial commands from the computer, and scans for and connects to a device, pretty much like the examples in the SDK. Then it reports events and changes in characteristics back to the computer. 

    The Sniffer application is not using the softdevice, like the SDK does. It is a custom FW that will scan for advertisement packets on channel 37. When it receives this, it switches to 38 and tries to catch that same packet on that channel, and then on channel 39. It is possible to tell the sniffer FW (via serial from computer) to follow a specific device. If so, it will filter out anything that is not related to that device. It will also follow that device into a connection. Just picking up the connection request, and the channel map, and continue to sniff the packets from both the peripheral an central in that connection. This is not at all possible using the Softdevice that is used in nRF Connect -> Bluetooth Low energy. The sniffer is not capable of connecting to a device on it's own. Only follow a device into a connection. The sniffer will never transmit a packet. Only listen, and dump the relevant data over serial.

    So does this mean that the sniffer is working, or did I misunderstand?

    Best regards,

    Edvin

Children
No Data
Related