WinUSB Microsoft OS descriptors

Simon Thiebaut <[email protected]> Thu, 23 Apr 2015 09:00:21 +0200
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <[email protected]>
Hi,

Please forgive me if this has already been answered, but I was not able to fin any related topic inside the previous posts.

I'm writing an application for monitoring sensor data through a USB link. 
I can modify both the PC application (USB host) and the acquisition board firmware(USB device).

The PC app USB part is written with libusb, as the app is intended to be cross platform, though it is first developed under Windows.
The first version of the board firmware implements the HID class, but this is too limitating for the requirements of the app, and I want to change the class.

Therefore I was looking for a generic USB device driver that would automatically loads when the device is plugged in. 
I have to do a choice between WinUSB or libusbK drivers.

After a few researches on WinUSB, I found this:
https://msdn.microsoft.com/en-us/library/windows/hardware/hh450799%28v=vs.85%29.aspx

That states that a WinUSB generic device must have in its firmware specific Microsoft OS Descriptors to work.

My question is: does libusbK have such requirements ? Will I have to add specific descriptors to make my device work ? Or nothing special is required (other than configuring properly the existing common descriptors) ?
The point is I do not wish to embed useless and not generic code in the firmware if there a is generic enough PC driver (for the Windows portage)...


Thank you very much for your answers.

Have a nice day,



Simon THIEBAUT

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF

_______________________________________________
Libusb-win32-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel