Skip to main content
findyou795
Visitor II
August 5, 2016
Question

postpone and resume USB receive data?

  • August 5, 2016
  • 1 reply
  • 672 views
Posted on August 05, 2016 at 19:11

I am working with a project with USB CDC vitual Com port and wonder if there is any way to postpone the receive data (tell the computer to stop transfer data ) and then resume it when the process is done? 

    This topic has been closed for replies.

    1 reply

    rex
    Associate
    August 9, 2016
    Posted on August 09, 2016 at 15:30

    You have to call ''USBD_CDC_ReceivePacket'' to start receiving the next packet. You just don't call it unless you are ready to receive and process new data.

    Bernd