最終更新:2018-01-15 (月) 17:35:16 (2292d)  

usb_interrupt_read
Top / usb_interrupt_read

Read data from a interrupt endpoint

  • int usb_interrupt_read(usb_dev_handle *dev, int ep, char *bytes, int size, int timeout);

Description

  • usb_interrupt_read performs a interrupt read request to the endpoint specified by ep.
  • Returns number of bytes read on success or < 0 on error.

エラー

timeout

  • Timeouts in libusb are always specified in milliseconds.