Skip to content

Making packet capture

MultiMote edited this page May 5, 2025 · 2 revisions

Packet capture files are what makes NiimBlue support new models.

Windows

  1. Install USBPcap.

  2. Reboot.

  3. Run USBPcapCMD.exe, enter hub number (you should find your printer in the list, that's 1 in my case), press Enter.

    image

    image

  4. Enter filename, press Enter. Then nothing will happen. App will capture the USB traffic.

  5. Start a NIIMBOT app and make a print.

  6. Press Ctrl+C in USBPcapCMD window. Now you attach a file with name you entered in step 3 in program directory.

Android

It can be different between models/ROMS.

For MIUI 14:

  1. Enable developer settings (many taps on MIUI version).

  2. Go to developer settings, enable Bluetooth HCI logs.

    image

  3. Turn Bluetooth off and on to make a new log.

  4. Start a NIIMBOT app and make a print.

  5. Connect device to PC and run adb bugreport (adb is a part of Android SDK Platform Tools).

    image

  6. Find btsnoop_hci.log or something like that in generated archive. In my case it located at FS/data/misc/bluetooth/logs/.

Clone this wiki locally