5 Apr 2012 15:35
Re: Reg: Endpoints for reading the data
Dan Streetman <ddstreet <at> ieee.org>
2012-04-05 13:35:56 GMT
2012-04-05 13:35:56 GMT
CC'ing my response to the list; I forgot to reply-all. On Wed, Apr 4, 2012 at 8:07 AM, Dan Streetman <ddstreet <at> 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.shah <at> 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() >>(Continue reading)
RSS Feed