cancel
Showing results for 
Search instead for 
Did you mean: 

USB Device Library - How to know that a host open a connection?

ee06091
Associate III
Posted on June 28, 2016 at 16:43

Hi,

I'm using the ST USB Device library and I can send data and from the micro to the PC. My question is how to know that host open a connection?

thank you

#usb-cdc
1 REPLY 1
Nesrine M_O
Lead II
Posted on June 29, 2016 at 11:57

Hi xavier.jose,

I recommend you to have a look to the USB applications under the cube firmware package, for example:

STM32Cube_FW_F4_V1.12.0\Projects\STM324x9I_EVAL\Applications\USB_Device\CDC_Standalone

Refer to the associated project readme file, to know how to use it 

-Syrine-