View topic - How to get device path and mount path using usbdi callbacks

Page 1 of 1

How to get device path and mount path using usbdi callbacks

PostPosted: Thu May 16, 2019 7:12 am
by selva
Hi,

I am in the progress of implementing a service which will detect usb plugin/removal using usbdi callback functions. Callback function has a parameter "usbd_device_instance_t * usbInstance" from which i can get device vendor id,product id and the device class information. But how do i get a mount point in case of a mass storage device and a device path in case of a HID device?