Reinit with different descriptors (to enable/disable certain USB classes at later points in time) #2752
Unanswered
snellejelle99
asked this question in
Q&A
Replies: 1 comment
-
|
Hi, I did something similar with CDC first, then CDC + UVC (see #2717). It's enough to issue tud_disconnect / tud_connect to make it work, however this interrupts the CDC communication. This not ideal but I couldn't find another way to force the host to notice the new interface. From what I understand, this is not a limitation of TinyUSB, but it's caused by the way enumeration works in the USB protocol. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am looking at a use case where I have a USB CDC and MSC device.
However instead of both enumerating at the same time I want to first enumerate as CDC only and then later enable MSC.
(preferably without breaking the CDC connection but that is not a hard requirement.)
Is there an example or has anyone done this before?
Can I just reinit tinyusb with a different set of descriptors?
If so is there anything specific I should watch out for?
All help is welcome.
:)
Beta Was this translation helpful? Give feedback.
All reactions