0
votes

I have an embedded board with USB device port and i would like to transfer data from/to the PC at a rate of 1600Kbps.

The actual data transferred is ADC data. Basically, i need to transfer this data to a Windows 8 machine as fast as possible.

Device side : I have a HID device which is recognized by the windows as a HID. The HID uses one interface with 2 endpoint, a interrupt based IN endpoint (as in any HID device) which can send a 64 byte to the Windows. I have another interrupt OUT endpoint can receive 64 bytes of data. And as all USB devices i have End Point 0 to send Control transfers.

I would like to build a tool with .Net and some USB based driver. Could anybody kindly please suggest me the best library i can use for USB communication? some samples would be fine.

Thanks in advance

1

1 Answers

0
votes

You might look into using HIDAPI, but in order to call it from C# you will have to define a bunch of tricky methods using PInvoke.

There is also the HidLibrary project for .NET but it looks unmaintained.