You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set the pipe timout value for a windusb device. libusb-1 set this using the function libusb_set_option which is not available from pyusb. Is there any chance to expose this function?
The text was updated successfully, but these errors were encountered:
Since we generally only have a single LibUSB instance per process, I'm reluctant to simply expose that functionality: one caller (say, in one of your dependencies) could easily break expectations of all other callers.
Still, it's something we should have at a low level (see #381 for another use case). When I looked into it, I got stuck on how to properly support the va_list... do you know how to solve that?
All that said, I'm not sure what you meant by setting a pipe timeout with libusb_set_option. None of the libusb_option variants appears to have anything to do with that... is there another, less obvious, option list I'm not aware of?
I'm trying to set the pipe timout value for a windusb device.
libusb-1
set this using the functionlibusb_set_option
which is not available frompyusb
. Is there any chance to expose this function?The text was updated successfully, but these errors were encountered: