Expand description
A library for running a USB/IP server
Modules
- Implement CDC(Communications) device
- Implement HID device
- USB/IP protocol structs
Structs
- Parse the SETUP packet of control transfers
- Represent a USB device
- Represent a USB endpoint
- A handler to pass requests to a USB device of the host
- A handler to pass requests to a USB device of the host
- Represent a USB interface
- Main struct of a USB/IP server
Enums
- A list of defined USB class codes
- A list of defined USB descriptor types from USB 2.0 standard Table 9.5. Descriptor Types
- USB endpoint direction: IN or OUT Already exists in rusb crate Transfer and endpoint directions.
- A list of defined USB endpoint attributes
- A list of defined USB standard requests from USB 2.0 standard Table 9.4. Standard Request Codes
- A list of known USB speeds
Constants
- Emulated max packet size of EP0
Traits
- A handler for URB targeting the device
- A handler of a custom usb interface
Functions
- Spawn a USB/IP server at
addr
using TcpListener - Check validity of a USB descriptor