gnu.io
public class RXTXCommDriver extends java.lang.Object implements CommDriver
Constructor and Description |
---|
RXTXCommDriver() |
Modifier and Type | Method and Description |
---|---|
CommPort |
getCommPort(java.lang.String PortName,
int PortType) |
void |
initialize()
Determine the OS and where the OS has the devices located
|
static java.lang.String |
nativeGetVersion() |
void |
Report(java.lang.String arg) |
public static java.lang.String nativeGetVersion()
public void initialize()
initialize
in interface CommDriver
public CommPort getCommPort(java.lang.String PortName, int PortType)
getCommPort
in interface CommDriver
PortName
- The name of the port the OS recognizesPortType
- CommPortIdentifier.PORT_SERIAL or PORT_PARALLELpublic void Report(java.lang.String arg)