I am trying to add hardware handshaking to the RXTX package and am
having lots of troubles with the java environment. I have a routine in C
that handles hardware handshaking without any problems. However,
incorporating this routine into java with JNI causes all sorts of
strange problem. i.e a call to tcgetattr works immediately after turning
h/w handshaking off, however when this routine is called again I get an
IO error on the tcgetattr call, just trying to read the damn status!
Somehow jumping fro the C code back into java and back again stuffs up
the port somehow. Anyone have any ideas ????
What the hell does the java do to the machine since I can't even open a
port non_blocking under java!!
Also, does any one know where I can get a good desciption of the ioctls?
this would be VERY useful.
Cheers
Dave Atkinson