sawyer bristol
4d9ee16f3c
fix device_qualifier_descriptor with custom bcd version
2024-12-02 15:58:39 -07:00
sawyer bristol
34899491e5
add named bcd versions
2024-12-02 15:57:58 -07:00
sawyer bristol
8068f7092e
fix bug and allow bcd to be .0
2024-12-02 15:44:29 -07:00
sawyer bristol
d0b1819aa5
custom bcd usb version
2024-11-29 20:29:43 -07:00
Dario Nieuwenhuis
ae8caf3f55
Merge pull request #3314 from elagil/add_iso_endpoint_support
...
Add ISO endpoint support
2024-09-16 19:51:52 +00:00
elagil
a8ca6713e6
feat(usb): make use of ISO endpoint support
2024-09-05 21:29:24 +02:00
Maxime Vincent
abcb39a58b
Allow bos_descriptor_buf to be a zero-length slice
2024-08-29 17:32:43 +02:00
Haobo Gu
a63d46507d
feat(usb): add device qualifier descriptor
...
Signed-off-by: Haobo Gu <haobogu@outlook.com>
2024-08-15 11:26:24 +08:00
Adam Greig
7cf6490fba
usb: remove device_descriptor buffer, store bytes in UsbDevice.inner instead
2024-03-23 00:35:15 +00:00
Rafael Bachmann
31d4516516
Apply Pedantic Clippy Lints
2023-10-15 23:52:44 +02:00
Rafael Bachmann
66e62e9994
Fix clippy
2023-10-15 22:25:35 +02:00
Dario Nieuwenhuis
ca10fe7135
usb: docs
2023-01-31 22:27:19 +01:00
Dario Nieuwenhuis
7f7c14b7bc
usb: split driver trait to separate crate.
2022-09-26 12:29:27 +02:00
Dario Nieuwenhuis
a8703b7598
Run rustfmt.
2022-06-12 22:22:31 +02:00
Dario Nieuwenhuis
7ed462a657
usb: simplify control in/out handlng, calling response from a single place.
2022-05-09 02:11:02 +02:00
Dario Nieuwenhuis
092c2b7dfe
usb: builtin handling of interface alternate settings
...
The stack reads its own descriptors to figure out which endpoints
are used in which alt settings, and enables/disables them as needed.
The ControlHandler has a callback so it can get notified of alternate
setting changes, which is purely informative (it doesn't have to do anything).
2022-04-23 01:11:10 +02:00
Dario Nieuwenhuis
50d257cc7c
usb: improved descriptor building API
...
The same API call allocates interfaces/endpoints/etc and writes their descriptors.
This means less API calls, and less possibility to screw things up.
DescriptorWriter is now private.
2022-04-16 04:30:31 +02:00
Dario Nieuwenhuis
a435d78cf7
usb: cleanup and simplify error handling.
2022-04-06 05:38:11 +02:00
Dario Nieuwenhuis
d1e4b3d7d5
usb: add -usb-serial crate, fix warnings and stable build.
2022-04-06 05:38:11 +02:00
Dario Nieuwenhuis
37598a5b37
wip: experimental async usb stack
2022-04-06 05:38:11 +02:00