When using the Java Simple Serial Connector (jSSC) library, SerialPort.getInputBufferBytesCount()
always returns zero, even when there are bytes in the buffer.
Probably related to this, readBytes()
never returns any bytes. The readBytes(byteCount)
version works - but, of course, I don't know how many to read because of above issue.
Platform is Windows 8 and I'm using the Virtual Serial Ports software from HHD.
Does any one know what might be causing this or how to resolve?