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) |
java.util.Set<java.lang.String> |
getPortIdentifiers() |
void |
initialize()
Determine the OS and where the OS has the devices located
|
static java.lang.String |
nativeGetVersionWrapper() |
void |
Report(java.lang.String arg) |
public static java.lang.String nativeGetVersionWrapper()
throws java.lang.UnsatisfiedLinkError
java.lang.UnsatisfiedLinkErrorpublic java.util.Set<java.lang.String> getPortIdentifiers()
public void initialize()
initialize in interface CommDriverpublic CommPort getCommPort(java.lang.String PortName, int PortType)
getCommPort in interface CommDriverPortName - The name of the port the OS recognizesPortType - CommPortIdentifier.PORT_SERIAL or PORT_PARALLELpublic void Report(java.lang.String arg)