NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
345 stars 143 forks source link

250000 baud is rejected as an invalid baudrate #79

Closed madhephaestus closed 8 years ago

madhephaestus commented 8 years ago

This is a valid baud for 3d printers and should not be rejected. In fact most baud rates could be valid given strange microcontroller configurations. The rejection of invalid baud rates makes too many assumptions and should be eliminated.

madhephaestus commented 8 years ago

https://github.com/NeuronRobotics/nrjavaserial/blob/master/src/main/java/gnu/io/NRSerialPort.java#L189 is the offending function