Hello,
is there a way in case of a timeout to completely reset the usb device stack?
-> It should provoke the USB device to reenumeration.
Meaning USB_DEV_EVENT_BUS_RESET followed by USB_DEV_EVENT_CONFIG_CHANGED and USB_DEV_EVENT_ENUM_COMPLETE
I need this for a reset after a timeout.
Thank you very much
Hi Peter Mai
We have no API to reset USB device, because USB BUS is lead by USB host. Why you need to reset USB device?
If you need to re-enumeration the USB device, I would suggest you try USB_DeviceStop and USB_DeviceRun.
Have a great day,
Daniel
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------