Hi,
I am using the javax.comm
package to perform read and write operations on the SerialPort
.
I have created an object of type InputStream
as InputStream
in;
My question is ....
- Irrespective of data availibility on the
SerialPort
,in.available()
always returns a zero due to which I am not able to decide whether bytes are available or not.
If i use the in.read()
directly, it seems to block the execution forever..