nRF Sniffer for Bluetooth LE No Com Port On Mac

After flashing my nrf52dk_nrf52832 with sniffer software, I did install all components for wireshark. I do see toolbar. I just do not see any ports or possibility to start BLE sniffer.

Can you please direct me? Tried going to troubleshoot of nRF Sniffer for Bluetooth LE, none described. I got too far.

Parents
  • Hi,

    The nRF Sniffer should work on macOS. There are a few things that are worth checking first:

    • Can you re-program the DK with the snifffer firmware (and ensure that you are programming it with the correct hex file)?
    • Can you check that you get the expected output when you run the python script from the command line, as explained in the Sniffer documentation? If not, can you copy-paste the output here?

    Also, which macOS version do you have, which python version and which Wireshark version?

  • I assume you mentioned script listed in install guide.

    It appears to be correct.

    I did reprogram my board few times. 

    `Writing HEX to Application core 100%`

     infocenter.nordicsemi.com/.../installing_sniffer_plugin.html

    Still the same, I do not see port to connect.

    ```

    yuriiboiko@EG-MBP-YuBo extcap % ./nrf_sniffer_ble.sh --extcap-interfaces

    Running script with: </opt/homebrew/bin/python3> with PATH: </opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS>

    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}

    ```

  • I see. The output you pasted from "./nrf_sniffer_ble.sh --extcap-interfaces" looks correct. Did you select Capture -> Refresh interfaces in Wireshark? When you do, you should also see the interface listed. If not, can you doublecheck the content of your personal extcap folder? See this screenshot that shows my content as well as the location:

  • Thanks!

    Capture -> Refresh interfaces in Wireshark

    This should be done few times. Board needs to be connected.

Reply Children
No Data
Related