Пример #1
0
 public static byte[] readBytes(int timeout)
     throws LibUsbTimeoutException, LibUsbPipeException, LibUsbOverflowException,
         LibUsbNoDeviceException, LibUsbOtherException {
   int read = dev.bulk_read(0x81, data, timeout);
   return BytesUtil.getReply(data, read);
 }