USB VCP - How to know if host COM port is open?
Hi all,
Is there a way to know if the host PC's COM port is open?
My application looks if the USB state is USBD_STATE_CONFIGURED and then starts sending data. In this case my PC application (CVI) cannot open the COM port until I stop sending data.
I want to solve this by knowing if the host COM port is open, is there a method to do this?
I use STM32L476, CubeMX VCP code
Thanks
#host #com-port #usb-vcp