Re: [javax-usb-devel] Multiple buffers submission for UsbIrp interface

2009-02-10 Thread Dan Streetman
id errorEventOccurred(UsbPipeErrorEvent event) { handleAnError(); } > > Any advice is appreciated! Thanks in advance. > > Cheers > > Yukang > > --- On Wed, 4/2/09, Dan Streetman wrote: > > From: Dan Streetman > Subject: Re: [javax-usb-devel] Multiple buffers s

Re: [javax-usb-devel] Multiple buffers submission for UsbIrp interface

2009-02-10 Thread Yukang Guo
and then pipe.asyncSubmit(irpList) one? e.g. for(i=0;i wrote: From: Dan Streetman Subject: Re: [javax-usb-devel] Multiple buffers submission for UsbIrp interface To: [email protected] Cc: [email protected] Date: Wednesday, 4 February, 2009, 8:58 PM On Wed, Feb 4, 2009

Re: [javax-usb-devel] Multiple buffers submission for UsbIrp interface

2009-02-04 Thread Dan Streetman
On Wed, Feb 4, 2009 at 3:07 PM, Yukang Guo wrote: > Hi Everyone, > > 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? Absolutely - you h

[javax-usb-devel] Multiple buffers submission for UsbIrp interface

2009-02-04 Thread Yukang Guo
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 S