return;
}
mIntf = this.mUsbConfiguration.getUsbInterface((byte) 0);
// device should have two endpoints
UsbInterfaceDescriptor iDesc = mIntf.getUsbInterfaceDescriptor();
if (iDesc.bNumEndpoints() != 2) {
log.error("Could not find endpoints");
return;
}
for (Object o : mIntf.getUsbEndpoints()) {
UsbEndpoint e = (UsbEndpoint) o;