USB HS CDC_Receive_HS funtion
Hi, I'm trying to make a little project just to send an echo of what is received over USB. I have been able to do it, but there s something I couldn't do yet.
My code in the USB callback function is as shown below:

The problem is really simple to describe: when CDC_Receive_HS is called, it only transmits ONE message, and I just can't figure out what is wrong. The code above only sends ''Echo:'' to the terminal on PC. When I only send the data received (CDC_Transmit_HS(Buf, *Len)) it only sends it, even if I try to send it again immediately after.

Thanks in advance
V�tor Pereira
#usb-hs-vcp #use-stm32f769-discovery-board