Extcap binary for capturing bluetooth packets from Android devices

Installation

sh $ cargo build --release $ mkdir -p ~/.config/wireshark/extcap/ && ln -s $PWD/target/release/btsnoop-extcap ~/.config/wireshark/extcap/

Root is required on the selected Android device.

This extcap plugin is designed to be used with Wireshark or tshark, and will show a live stream of Bluetooth HCI events from the selected device.

Detected devices are shown in Wireshark's Capture interface list.

wireshark

Instructions to turn on btsnoop log capturing

  1. Enable Developer options on the device.
  2. In the Developer options menu, activate the Enable Bluetooth HCI snoop log toggle.
  3. Restart Bluetooth for logging to take effect.
  4. Run adb root