Designing a USB Device Simulator

When you are designing a USB device simulator, you should consider the following design choices:

  • Packaging and programming language (for example, DLL, EXE, or component object)

  • USB device configuration

  • Polled or event-driven data processing

  • Test application interface

The following topics address each of these considerations in detail:

Simulator Packaging

Configuring the SoftUSBDevice Object

Handling Standard Device Requests

Event-Driven and Polled Simulation

Test Application Interface

Using Endpoint Diagnostics

Using Device Context

Power Management in DSF

Using the External Hub Simulator

Simulating Composite and Compound Devices

Checking the DSF Version

 

 

Send comments about this topic to Microsoft

Build date: 9/21/2010