public class RXTXCommDriver extends Object implements CommDriver
Constructor and Description |
---|
RXTXCommDriver() |
Modifier and Type | Method and Description |
---|---|
CommPort |
getCommPort(String PortName,
int PortType) |
void |
initialize()
Determine the OS and where the OS has the devices located
|
static String |
nativeGetVersion() |
void |
Report(String arg) |
public static String nativeGetVersion()
public void initialize()
initialize
in interface CommDriver
public CommPort getCommPort(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(String arg)
Copyright © 2016. All rights reserved.