- Download Nordic sniffer (supports ble 5.0)
- Convert firmware to UF2 format:
- Clone uf2utils
- Convert dongle firmware:
python3 uf2conv/uf2conv.py sniffer_nrf52840dongle_nrf52840_4.1.1.hex --family 0xADA52840 --convert --output firmware.uf2
- Connect dongle pressing button, release when led goes green.
- Copy firmware.uf2 to MDK volume. In order to flash other programs, double tap button while connected.
- Go to
Settings -> Developer Options
. - Enable
Bluetooth HCI snoop log
. - Turn off bluetooth and reset device.
- Run test.
- Retrieve logs through one of the following methods:
- Generate a bug report.
adb -s <device-id> bugreport <file-name>
- Pull log from device.
adb -s <device-id> pull /sdcard/btsnoop_hci.log