Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.08 KB

TROUBLESHOOTING.md

File metadata and controls

34 lines (28 loc) · 1.08 KB

Dev hardware setup

nERF52840 MDK USB Dongle

Setting up sniffer

  1. Download Nordic sniffer (supports ble 5.0)
  2. Convert firmware to UF2 format:
    1. Clone uf2utils
    2. Convert dongle firmware:
    python3 uf2conv/uf2conv.py sniffer_nrf52840dongle_nrf52840_4.1.1.hex --family 0xADA52840 --convert --output firmware.uf2
    
    1. Connect dongle pressing button, release when led goes green.
    2. Copy firmware.uf2 to MDK volume. In order to flash other programs, double tap button while connected.

Android

Enabling HCI bluetooth logs

  1. Go to Settings -> Developer Options.
  2. Enable Bluetooth HCI snoop log.
  3. Turn off bluetooth and reset device.
  4. Run test.
  5. Retrieve logs through one of the following methods:
    1. Generate a bug report.
    adb -s <device-id> bugreport <file-name>
    
    1. Pull log from device.
    adb -s <device-id> pull /sdcard/btsnoop_hci.log