Fazecast / jSerialComm

Platform-independent serial port access for Java
GNU Lesser General Public License v3.0
1.35k stars 287 forks source link

BaudRate resets always to 9600 #478

Closed cefi1846 closed 1 year ago

cefi1846 commented 1 year ago

In the current version, the set parameters such as baud rate etc. are apparently not accepted or reset again. Anyway, when I look at the communication in a SerialSniffer, the parameters are always reset to 9600.

zvt13_gh1

Serial

zvt13_gh

KREATIV-LSH commented 1 year ago

set the baud rate after setComPortTimeouts, works for me

cefi1846 commented 1 year ago

set the baud rate after setComPortTimeouts, works for me

Thanks! I will try this workaround.

hedgecrw commented 1 year ago

I believe I've been able to implement a workaround for this issue in the latest version of the library. Please test the following beta version and let me know if this solves the issue for someone on this thread:

https://www.dropbox.com/t/nUibOse3aweB1ZOw

Thanks!

hedgecrw commented 1 year ago

This should be fully fixed with the latest release of v2.10.0 and v2.10.1.