Expand description
Generic Vendor-specific bulk USB class device implementation.
Provides raw bulk endpoint data transfer between device and host. Optionally includes:
- Microsoft OS 2.0 descriptors for automatic driverless WinUSB binding on Windows 8.1+.
- WebUSB BOS platform capability descriptor and landing URL descriptor for browser access.
- Async stream I/O via the
embedded-io-asynctraits (ReadandWrite).
Structs§
- Buffered
Receiver - Vendor class buffered receiver for stream-like reads.
- Config
- Configuration for the Vendor class.
- Receiver
- Vendor class packet receiver.
- Sender
- Vendor class packet sender.
- State
- Internal state for the Vendor USB class.
- Url
- URL descriptor for WebUSB landing page.
- Vendor
Class - Vendor-specific bulk USB class.
Enums§
- Vendor
Error - Vendor class error.
Constants§
- USB_
CLASS_ VENDOR - USB class code for Vendor Specific devices (0xFF).
- USB_
PROTOCOL_ NONE - Default protocol code (none/vendor-specific).
- USB_
SUBCLASS_ NONE - Default subclass code (none/vendor-specific).