开发者

How do I build a virtual USB simulator?

We are looking for a virtual USB link simulator; this program or service should link a virtual COM port to an application which accepts only USB as data link.

The virtual COM port is VSPE from Eterlogic.

The purpose is to make a serial data link between this virtual port and an application that expects data from a USB stick. Instead of the stick (recognized as HID) the program should get serial data from the virtual开发者_运维问答 COM port (RS-232) presented as a virtual USB connection.


What do you mean "Accepts only USB as data link" ?

HID is a standard Device Class. It contains some standardized "Usage tables" (e.g. Mouse, Keyboard, Monitor control).

Most Operating Systems know how to handle HID and a number of Usage table. Connecting such a device will result with the OS exporting an appropriate device (Keyboard).

Since you can register with HID in user-space in Windows (for a new Class Driver implementation, one needs to create a full driver). Many manufacturers are "riding" HID's back to create custom protocols on top of it.

  1. Does your application interact with a HID device that exports one of the standard usage tables ? (http://www.usb.org/developers/hidpage/)

  2. Does your application register on top of HID and parse the reports itself ?

  3. Does your application connect to 3d party driver already installed on your OS ?

    • Not enough space to post this in comments
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜