Hi Bob,
Bob Lapique wrote:
> On Linux, it is pretty straightforward to detect device connection /
> disconnection with libusb_set_pollfd_notifiers().
This is unfortunately not very portable use of the libusb-1.0 API,
in particular it's not portable to Windows, because Windows doesn't
use file de
On 2012.09.19 09:44, Bob Lapique wrote:
> Hello,
>
> I am using the asynchronous mode.
>
> On Linux, it is pretty straightforward to detect device connection /
> disconnection with libusb_set_pollfd_notifiers().
>
> I can do it in Windows too, by checking libusb_submit_transfer() return
> code and
Hello,
I am using the asynchronous mode.
On Linux, it is pretty straightforward to detect device connection /
disconnection with libusb_set_pollfd_notifiers().
I can do it in Windows too, by checking libusb_submit_transfer() return
code and libusb_transfer::status in callback functions install