priaonehaha / java-simple-serial-connector

Automatically exported from code.google.com/p/java-simple-serial-connector
0 stars 0 forks source link

Framing errors and buffer overruns are not reported #58

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Add an event listener with at least SerialPort.MASK_ERR.
2. Wait for, or provoke errors on the serial port.
3. Note that parity errors are reported but not others.

What is the expected output? What do you see instead?

Framing errors (and buffer overruns) should be reported (when they happen).

What version of the product are you using? On what operating system?

jSSC 2.8.0 on Windows XP, Mac OS X 10.9 and Linux Debian Wheezy.

Please provide any additional information below.

The attached file contains a modified version of SerialPort.java which fixes 
the problem.

Thank you for jSSC: I find it very usefull.

Original issue reported on code.google.com by serge.br...@gmail.com on 11 Feb 2014 at 9:10

Attachments: