View topic - How to get device path and mount path using usbdi callbacks
How to get device path and mount path using usbdi callbacks
1 post
• Page 1 of 1
How to get device path and mount path using usbdi callbacks
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?
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?
- selva
- New Member
- Posts: 7
- Joined: Wed Apr 17, 2019 6:20 am
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest