I am using STM USB CDC VCP middleware stack on STM32F777II mcu where I wanted to know if there is a function or way to know whether the device (mcu application) is successfully connected to the windows PC or not?
I dont use F7 family.
This is an older post with similar content.
Which function can detect STM32F413 USB(CDC) connected or disconnected
Hope it is helpful.
Retrieving data ...