I'm using the SerialPort class to communicate with a USB CDC class device. I'm using the Write method to send a message and ReadByte to read the response one byte at the time (response is usually 2 bytes). The problem I'm having is that sometimes the ReadByte
method timesout even though the response was sent by the device and received by the USB stack (I can see it in USB analyzer). Any suggestions?
↧