CC'ing my response to the list; I forgot to reply-all. On Wed, Apr 4, 2012 at 8:07 AM, Dan Streetman <ddstr...@ieee.org> wrote: > endpoint 0 is the "default" endpoint and not available in any > interface (it could be argued that the usb spec says it's available in > "all" interfaces, which is equally unhelpful). The only access to > endpoint 0 is the "default control pipe" which is accessed directly > from the device, via UsbDevice.asyncSubmit(UsbControlIrp) or > UsbDevice.syncSubmit(UsbControlIrp) > > On Wed, Apr 4, 2012 at 3:32 AM, Hardik Shah <hardik.s...@jetmobile.com> wrote: >> Hi All, >> >> >> >> I am working on a code which does a read/write operation on usb Device. >> >> >> >> I am successfully able to read data at endpoint 1. But I came across a >> situation where I need to read data from endpoint 0. How can I achieve this. >> >> >> >> When I try to get number of endpoint for a device. I get one. >> >> List eps = interf.getUsbEndpoints(); >> >> Eps.size() >> >> >> >> Please tell me how to get multiple endpoints (ep0,ep1) form device. >> >> >> >> Thanks >> >> Shah >> >> >> >> >> ------------------------------------------------------------------------------ >> Better than sec? Nothing is better than sec when it comes to >> monitoring Big Data applications. Try Boundary one-second >> resolution app monitoring today. Free. >> http://p.sf.net/sfu/Boundary-dev2dev >> _______________________________________________ >> javax-usb-devel mailing list >> javax-usb-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/javax-usb-devel >>
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel