2025-01-21 01:12 PM
Hi, I’m working with an STM32G0 MCU and utilizing the USBPD and USB_DEVICE Middleware packages.
In my application, I need to detect if the connected device is running iOS. Since all Apple devices have the Vendor ID (VID) set to 0x5AC, I plan to use this as a distinguishing factor. However, I’m unable to locate where and how to retrieve this VID within the STM32 software framework. Is there a specific function or method available in the Middleware or USB stack that allows me to access the VID of a connected device? If not, could you guide me on where to look or how to implement this functionality?
Thank you!