Hello,
I'm new to developing with USB. I new using the LPCXpresso55S28 Board and with the help of the SDK (version 2.13.0) i manage to get USB CDC working. I have only one question.
Our applications pushes data over the USB. When the serial port is closed (not disconnected) the data is buffer en when the port is opened again old data is received and then the new data. For example:
Msg1
Msg2
Msg3
- port closed
wait some time
- port opened
Msg4 <- buffer message i don't want
Msg10
Msg11
Msg12
I was wondering if it is possible to either detect if a port is closed so the MCU application can stop sending without the use of hardware flow control. Or clear the buffered message when the port is opened again.
With kind regards,
Therry