Hello,
I've used the Nrf-Sniffer a zillion times before and I really appreciate the existence of this tool. Thanks a lot! Now, I want to run the tool on my new M1 MacBook. So I've installed the newest version of the tool (4.1.0), use Wireshark 3.6.8 and flashed the firmware (sniffer_nrf52840dk_nrf52840_4.1.0.hex) on a PCA10056 (2.0.1) eval board. I've disabled MSD. I used the latest version of Seggers software to flash the firmware.
The firmware seems to work, as the LED1 is blinking once in a while, indicating that it captured a package, as it used to do so in previous versions. Wireshark is recognizing the Sniffer, there is a USB device: /dev/tty.usbmodem0006832334881
But, there are no packages captured. I see not a single advertisement in Wireshark. I've double checked that no filters are set.
The output of `nrf_sniffer_ble.sh --extcap-interfaces ` gives me:
Running script with: </usr/local/bin/python3> with PATH: <path snipped>
extcap {version=4.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/cu.usbmodem0006832334881-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}
I remember that there was once a CLI client for the Sniffer. Is this still accessible to test the Sniffer. Any hints, ideas as to what could be wrong here and what I can do to find the cause of the problem?
TIA Torsten