[Rxtx] program hangs when open the serial port
Trent Jarvi
taj at www.linux.org.uk
Thu May 12 18:50:25 MDT 2005
On Thu, 12 May 2005, [gb2312] chen_yulei wrote:
> Hi,
>
> I am using serialDemo provided by sun to do serial port communication.
> The demo find the serial port COM1 and COM2 successfully. But when I
> click the button to open one serial port, the program just hangs.
>
> Could anyone tell me why?
>
> Thanks!
>
> Regards,
> Yulei
I'm not sure what is going on there. Are you using the latest version of
rxtx?
ftp://ftp.qbang.org/pub/rxtx/rxtx-2.1-CVS-20050120-bins.tar.gz (stand
alone namespace gnu.io -- needs modification of your imports)
ftp://ftp.qbang.org/pub/rxtx/rxtx-2.0-CVS-20050120-bins.tar.gz (works with
Sun's CommAPI -- name space javax.comm)
--
Trent Jarvi
taj at www.linux.org.uk
More information about the Rxtx
mailing list