How to implement safety remove usb on device.

kwaingwu
Posts: 2
Joined: Thu Jul 11, 2024 5:17 am

How to implement safety remove usb on device.

Postby kwaingwu » Thu Jul 11, 2024 7:53 am

I trying to using esp32s3 to implement a multiple role USB device which are HID keyboard / mouse And flash drive.
I am using a switch to select the USB connector usage for HID by esp32 or usage as flash driver.

after a few time switching PC cannot identify my HID device. can I do something like "safety remove " on my salve side?

I am using IDF 5.1 and tinyUSB driver.

Who is online

Users browsing this forum: Baidu [Spider] and 113 guests