At 4:22 PM +1300 11/7/02, Alex Shepherd wrote:
Bob,
This is starting to smell like the Java Comm API is not correctly handling
the hardware handshake configuration or XP is doing something different.
Looking at LocoBufferAdapter.java you appear to only be checking CTS for CTS
before sending and enabling CTS handshake on open, which is what I would
expect, so I wonder if Bill's boys in their wisdom have _fixed_ something in
XP such that it now requires the DTR/DSR and DCD lines to also be looped.
DecoderPro and the Java Comm library are trying to set the serial port to:
Flow control to the LocoBuffer; don't send unless CTS (Clear
To Send) is active.
Ignore flow control from the LocoBuffer, receive characters
any time.
What seems to be happening is that the second part is working, but in certain situations the first part becomes "don't send unless CTS and DSR are active" (DSR is Data Set Ready; "Data Set" was the original telco name for what we now call a modem). I don't have a lot of control over this, and think it must somehow be happening in the OS or serial driver level.
Does anybody know if there are Windows configuration options that might be effecting this?
Bob
--
--------------
Bob Jacobsen (Bob_Jacobsen@..., 510-486-7355, fax 510-495-2957)