Closed sim-pixel closed 2 years ago
Have you ensured that the device you are communicating with supports baud rates higher than 9600? Receiving random 00 packets at higher baud rates indicates that the library is trying to make sense of garbage data due to a mismatch between the supported transmission speeds on the receiving and transmitting devices.
Closing due to inactivity and most likely not a bug due to this being the only issue raised about this after many years.
I am testing jSerialComm in an application in Java but when I set a baud rate higher than 9600 I cannot read data: I receive "00" packets with no apparent logic. So far i have used baud rate of 1200-2400-4800-9600 and have not encountered any problems.
Below is my code:
Any suggestion? Thank you in advance.