Hi Everyone,
I try to send constant flows of data at a relatively high speed from USB
device (HID type) to host (PC).
Currently, I use synchronous UsbPipe submission using byte[] follow the
example given in MouseDrive.java code. But I suffer from sample missing.
I dig into the "JSR80 API Specification" documentation a little bit, and
realize that using multiple buffers submission of UsbIrp interface might
be much more suitable for sending large amount of data at high speed.
I have two questions,
1) Compared to synchorous UsbPipe submission using byte[], is multiple
buffers submission of UsbIrp interface really more suitable for sending
large amount of data in high speed?
2) If the answer to Q1 is yes, is there any example for multiple buffers
submission for UsbIrp interface available, which I could follow?
3) Does multiple buffers submission of UsbIrp mean submit multiple
buffers once per submission for one UsbIrp or submit single buffer once
per submission for several UsbIrp under one UsbPipe?
Since I am newbie in Java programming for USB device, so the questions
above might be not very professional. Any advice is highly appreciated!
Thanks in advance!
Yukang
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
javax-usb-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/javax-usb-devel