It now turns out that ClearCommError() returns 0 if a USB serial port is disconnected. This fits well with the current Windows documentation. Our terminal emulator now closes the port gracefully when the USB adapter is diconnected.
Stephen
It now turns out that ClearCommError() returns 0 if a USB serial port is disconnected. This fits well with the current Windows documentation. Our terminal emulator now closes the port gracefully when the USB adapter is diconnected.
Stephen
My first guess is that Winders does not properly comply with the USB specification, or that the specification itself has problems with disconnect followed by reconnect. Fortunately the USB specification is publicly available from the USB consortium.
?-)
W dniu 2012-07-08 01:00, John Larkin pisze:
Hi. Use terminal v1.9b by Br@y++. It can close virtual port after disconnecting usb cable.
Have something to add? Share your thoughts — no account required.
Ask the community — no account required