B4J Question jSerial, Windows 10 and USB Serial

yo3ggx

Active Member
Licensed User
Hello,

I have a small application written in b4j that connects to a device over a serial COM Port (USB Serial based on CP21x02). Everything was perfect until last week, when the communication stopped working over USB/Serial. I've suspected an issue with the device or the USB/Serial Interface, but no issues at all with other applications and the same device/interface.
The problem exist on other systems too with the same Windows version. The app still works ok over a Serial Bluetooth connection.
Currently I'm using Windows 10 [Version 10.0.18363.815] and jdk 1.8.0_251

Do you have any idea what can be the root cause?

Thank you.
Dan
 

yo3ggx

Active Member
Licensed User
Please discard my post. I've found a bug. By mistake I've deleted the line setting the Baudrate (in fact the baudrate was set to 0). This does not affected Serial over Bluetooth, as then the Baudrate parameter is not used.

I'm really sorry.

Dan
 
Top