Results 122 comments of mame82

Hi @RoganDawes As promised I've done some tests on synchronous transfers using two separate Interfaces. > technically it may be possible to double your throughput as a result You're absolutly...

Hi @RoganDawes Thanks for your quick Reply and the usefull hints on transfer rate. Unfortunately I'm not able to achieve transfer rates > 4kbytes/s. I had no PS console output...

Could you provide a snippet of code reaching this rate, the snippet I provided above has no (obvious) room for improvement (writes data out in minimal loop)

> a "question/answer" style of conversation While reading this a new idea arises. I should test to split up the HID devices into two. One using an input descriptor, the...

Yes I guess this behavior could be kept with two devices (I'm doing this in single HID file proto...Windows starts writing, P4wnP1 starts blocking read). The Mord complex adjustment would...

I'll test this with the two endpoint script provided above. It's likely that I missed the transfer interruption which occurred in your test, because I terminated the loops after 1000...

Although I hadn't time to fully dive into you code it seems you could change it. The $q object is already thread safe I think (using it on my stage...

I''m aware of your asynchronous file io Stäbe. I used a different approach. My stage2 is running 3 threads (in both sides...Python Server and Power shell client). A thread for...

Ignore the last comment. I missed that the inner while loop empties the queue before the sleep is called. You've been looking for a way to avoid polling queue count...

[My stage 2 is here ](https://github.com/mame82/P4wnP1/blob/devel/hidtools/stage2.ps1) ignore the heading comments, they need to be reworked, but threading and io handling should be self explanatory