Hello Everyone,
I have to write a small tool to test a LED device which will be connected to PC via USB.
I did my research and found that there are 2 widely used libraries for USB communication: LibUSBDotNet & WinUSBDotNet
Unfortunately, i cant use these 2 libraries in my case, because:
a) WinUSB needs device GUID[in Inf file] to connect / detect the devices, which i dont have now. I just want to connect/detect the device using VID and PID.
b) So, i tried LibUSB which can detect using VID & PID but in my case its not able to find the connected devices until i dont use Inf-Filter wizard to install the filter for the specific device's driver. Also, even after i install the filter, my code detects the device but the PC goes into BSOD and restarts. So, LibUSB is also out now.
Can you guys help me with any code snippet/ link so that i can write a small application just to detect a USB device and send some simple byte[] commands to it and wait for SUCCESS/FAILURE acknowledgements.
Any help/suggestion will be appreciated.
Thanks