public class RXTXCommDriver extends Object implements CommDriver
| 构造器和说明 |
|---|
RXTXCommDriver() |
| 限定符和类型 | 方法和说明 |
|---|---|
CommPort |
getCommPort(String PortName,
int PortType) |
Set<String> |
getPortIdentifiers() |
void |
initialize()
Determine the OS and where the OS has the devices located
|
static String |
nativeGetVersionWrapper() |
void |
Report(String arg) |
public static String nativeGetVersionWrapper() throws UnsatisfiedLinkError
public void initialize()
initialize 在接口中 CommDriverpublic CommPort getCommPort(String PortName, int PortType)
getCommPort 在接口中 CommDriverPortName - The name of the port the OS recognizesPortType - CommPortIdentifier.PORT_SERIAL or PORT_PARALLELpublic void Report(String arg)
Copyright © 2020. All rights reserved.