1 unstable release

0.0.1 Mar 16, 2021

#66 in #packet-parser

MIT/Apache

51KB
1K SLoC

usb2

(Opinionated) USB 2.0 data types and packet parser

This library does not contain any I/O functionality. If you are looking for a device-side library check out usb-device.

License

All source code is licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.


lib.rs:

USB 2.0 data types and packet parser

This library does not contain any I/O functionality. If you are looking for a device-side USB library check out usb-device.

References

  • (USB2) Universal Serial Bus Specification Revision 2.0 (April 27, 2000)
  • (USBCDC1.2) Universal Serial Bus Class Definitions for Communications Devices 1.2 (Errata 1) (November 3, 2010)
  • (USBIAD) Interface Association Descriptors Engineering Change Notice
  • (USBPTSN1.2) Universal Serial Bus Communication Class Subclass Specification for PTSN Devices Revision 1.2 (February 9, 2007)
  • (HID1.11) Device Class Definition for Human Interface Devices (HID) version 1.11 (6/27/01)

No runtime deps