gnu.io
Class RXTXCommDriver
- CommDriver
public class RXTXCommDriver
extends java.lang.Object
implements CommDriver
This is the JavaComm for Linux driver.
Report
public void Report(String arg)
getCommPort
public CommPort getCommPort(String PortName,
int PortType)
PortName
- The name of the port the OS recognizesPortType
- CommPortIdentifier.PORT_SERIAL or PORT_PARALLEL
- CommPort
getCommPort() will be called by CommPortIdentifier from its
openPort() method. PortName is a string that was registered earlier
using the CommPortIdentifier.addPortName() method. getCommPort()
returns an object that extends either SerialPort or ParallelPort.
initialize
public void initialize()
Determine the OS and where the OS has the devices located
nativeGetVersion
public static String nativeGetVersion()