openusb_set_default_timeout handle - An openusb instance handle, obtained in
openusb_init.
type - Transfer type.
timeout - Timeout value, in millisecond unit.
Application can call openusb_set_default_timeout()
to set default timeout for individual transfer type. timeout = 0
represents infinite timeout value.
OpenUSB supported transfer types are:
typedef enum openusb_transfer_type {
USB_TYPE_ALL = 0,
USB_TYPE_CONTROL,
USB_TYPE_INTERRUPT,
USB_TYPE_BULK,
USB_TYPE_ISOCHRONOUS,
} openusb_transfer_type_t;
|