larskanis/libusb

interrupt_transfer on two endpoints?

ciembor opened this issue · 0 comments

I sniffed communication between software on Windows and a sonometer. Now I want to mimic it on Linux. Software sends URB_INTERRUPT out to endpoint 2, with some capture data that probably means "give me current state". Then there is another URB_INTERRUPT in, to endpoint 1. And this interruption has capture data with current state I need. I tried to mimic it and I failed. I described it on stackoverflow. If you have a second I would be greatfull for help.

https://stackoverflow.com/questions/56360704/i-cannot-mimic-sniffed-urb-interruption-using-libusb-for-ruby