*/
public void syncSubmit(USBRequest request, long timeout) throws USBException {
asyncSubmit(request);
request.waitUntilComplete(timeout);
if (!request.isCompleted()) {
throw new USBException("Timeout on request");
}
final int status = request.getStatus();
if ((status & USBREQ_ST_ERROR_MASK) != 0) {
throw new USBException("USB error 0x" + NumberUtils.hex(status));
}
}