Page 1 of 1

Open a device, attach it later

Posted: Fri Oct 21, 2022 3:38 am
by Orf Quarenghi
Hello.

Is there a way to open an unconnected device, and get the attach event later when you connect it?

If I try to open an unconnected device, the Open statement throws an exception after the timeout. After that, no attach event is received.

Re: Open a device, attach it later

Posted: Fri Oct 21, 2022 8:05 am
by mparadis
If you use the version of open() with no timeout specified, it will behave just as you described.

Re: Open a device, attach it later

Posted: Wed Oct 26, 2022 12:11 am
by Orf Quarenghi
...asgh! How could I miss that one!!!? :D

Thanks!!