Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 21:15:22 -0800 (PST)
From:      huang wen hui <huanghwh@yahoo.com>
To:        ari.suutari@syncrontech.com
Cc:        java@freebsd.org
Subject:   the bug of freebsd-commapi 
Message-ID:  <20020328051522.8766.qmail@web20405.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
hi,
  I may found two bugs of native freebsd-commapi:

  1. SerialPort.getName() always return null. fix:
--- FreebsdSerial.java.org	Tue Mar 26 13:37:30 2002
+++ FreebsdSerial.java	Tue Mar 26 13:41:14 2002
@@ -47,7 +47,7 @@
     private int                parity      =
SerialPort.PARITY_NONE;
     private int                flowcontrol =
SerialPort.FLOWCONTROL_NONE;
     private int                sd          = -1;
-    private String             name        = null;
+    //private String             name        = null;
     private int                ibs         = 1024;
     private int                obs         = 1024;
     private int                framing     = -1;

   2. SerialPort.setFlowControlMode() not work. It
look s like "native void deviceSetFlowControl()" not
properly works.
  I read data from serial port(9000,N,8,1, no
flowControl). Before call
setFlowControlMode(SerialPort.FLOWCONTROL_NONE), it
works fine; after call, it does NOT work.

 --hwh


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020328051522.8766.qmail>