nrf52840 interface is not listing in wireshark

I'm using nrf52840 dongle. followed setup based on 

https://docs.nordicsemi.com/bundle/nrfutil_ble_sniffer_pdf/resource/nRF_Sniffer_BLE_UG_v4.0.0.pdf

https://www.youtube.com/watch?v=HeG3ARRm05I

I'm using

Mac Pro

Arm chip

Sonoma 14.7.1 OS

Wireshark Version: 4.4.3

I've write successfully the  "sniffer_nrf52840dongle_nrf52840_4.1.1.hex" program into the nrf52840 usb stick with help of "nRF Connect for Desktop" 

After that pip successfully insalled 

pip install -r requirements.txt

copied to  wireshark plugin directory  `~/.local/lib/wireshark/plugins/4-4`

Executed `nrf_sniffer_ble.sh` command as like below successfully and got the below message  

`./nrf_sniffer_ble.sh --extcap-interfaces`

Information printed on above command:

extcap {version=4.1.1}{display=nRF Sniffer for Bluetooth LE}{help=www.nordicsemi.com/.../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 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}

After that light start blinking Yellow color on USB dongle. 

When i refresh a interface in Wireshark not listing it. 

Parents
  • yes restarted the Wireshark. 

    I'm using 

    `python3 --version`

    Python 3.13.1

  • Hi,

    It might be worth downgrading to Python 3.11.x if possible, as the nRF Sniffer is tested and known to work using that version of Python.

    Regards,
    Terje

  • Thanks for reply. I've updated the python to 3.11.10. 

    $ python3.11 --version

    Python 3.11.10

    $ python3.11 -m pip install -r requirements.txt

    Requirement already satisfied: pyserial>=3.5 in /opt/homebrew/lib/python3.11/site-packages (from -r requirements.txt (line 1)) (3.5)

    Requirement already satisfied: psutil in /opt/homebrew/lib/python3.11/site-packages (from -r requirements.txt (line 2)) (6.1.1)

    ./nrf_sniffer_ble.sh --extcap-interfaces

    ~/.local/lib/wireshark/plugins/4-4/./nrf_sniffer_ble.py:187: SyntaxWarning: invalid escape sequence '\s'

      "{validation=^\s*((37|38|39)\s*,\s*){0,2}(37|38|39){1}\s*$}{required=true}" % CTRL_ARG_ADVHOP)

    ~/.local/lib/wireshark/plugins/4-4/./nrf_sniffer_ble.py:716: SyntaxWarning: invalid escape sequence '\s'

      m = re.search("^\s*rssi\s*(>=?)\s*(-?[0-9]+)\s*$", capture_filter, re.IGNORECASE)

    extcap {version=4.1.1}{display=nRF Sniffer for Bluetooth LE}{help=www.nordicsemi.com/.../nRF-Sniffer-for-Bluetooth-LE}

    interface {value=/dev/cu.usbmodem1401-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 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}

    Yellow light blinking, but still interface list is not displaying in Wireshark. Did i missed anything?

Reply Children
No Data
Related