-
Notifications
You must be signed in to change notification settings - Fork 38
Making packet capture
Packet capture files are what makes NiimBlue support new models.
-
Install USBPcap.
-
Reboot.
-
Run
USBPcapCMD.exe
, enter hub number (you should find your printer in the list, that's 1 in my case), press Enter. -
Enter filename, press Enter. Then nothing will happen. App will capture the USB traffic.
-
Start a NIIMBOT app and make a print.
-
Press Ctrl+C in USBPcapCMD window. Now you attach a file with name you entered in step 3 in program directory.
It can be different between models/ROMS.
For MIUI 14:
-
Enable developer settings (many taps on MIUI version).
-
Go to developer settings, enable Bluetooth HCI logs.
-
Turn Bluetooth off and on to make a new log.
-
Start a NIIMBOT app and make a print.
-
Connect device to PC and run
adb bugreport
(adb is a part of Android SDK Platform Tools). -
Find
btsnoop_hci.log
or something like that in generated archive. In my case it located atFS/data/misc/bluetooth/logs/
.