I’ve been working on the Java software the last couple days.
Trying to read from RXTX is producing only 3968 bytes per read. It looks like my USB -> serial converter uses a “transfer size” of 4096 bytes. It might be related. I’m going to lower the transfer size and see if that changes things.
If I read one byte at a time, I do get my 15238 magic number of bytes, but then the data is semi-corrupted. I’m getting a value of 0x2030 instead of a 0x89. It’s odd that I’m getting a multi-byte value for a function that is supposed to return only 0-255.