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

The sneaky 2500000 baud invalid rejection is back in... #147

Closed LucidWolf closed 5 years ago

LucidWolf commented 5 years ago

NRSerial.setBaud() is not happy with 250000. Did this sneak back in from RXTX source? It was documented on #79 I think it would be nice to just add 250000 into the case Shouldn't there also be the standard 256000?

Added 250000 to my local source just to get a CNC controller running. Why would this code care about non-standard baud rates anyways? Is it to try and stay as compatible as possible?

LucidWolf commented 5 years ago

sorry I got confused I thought this was in the library it was in the CnC code.