Closed GoogleCodeExporter closed 8 years ago
For that you can use SerialPortEventListener and SerialPort.MASK_TXEMPTY event
for checking state of output buffer. Not all serial port devices support this
event, and the second way is to use getOutputBufferBytesCount() method of
SerialPort class, you can run a standalone thread for checking this parameter,
this method return a count of bytes in output buffer and if this value == 0,
it's mean that your output buffer is empty and serial port don't send any data.
Original comment by scream3r.org@gmail.com
on 26 Jul 2013 at 1:39
Original comment by scream3r.org@gmail.com
on 30 Jul 2013 at 4:33
Original issue reported on code.google.com by
bromo...@gmail.com
on 26 Jul 2013 at 6:55