| 程序包 | 说明 |
|---|---|
| gnu.io | |
| gnu.io.factory |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
RXTXPort.clearCommInput()
Extension to CommAPI returns boolean true on success
UnsupportedCommOperationException
|
abstract void |
CommPort.enableReceiveFraming(int f) |
void |
RXTXPort.enableReceiveFraming(int f)
Receive framing control
|
abstract void |
CommPort.enableReceiveThreshold(int thresh) |
abstract void |
CommPort.enableReceiveTimeout(int time) |
int |
RXTXPort.getBaudBase()
Extension to CommAPI
|
abstract int |
SerialPort.getBaudBase() |
boolean |
RXTXPort.getCallOutHangup()
Extension to CommAPI returns boolean true on success
UnsupportedCommOperationException
|
abstract boolean |
SerialPort.getCallOutHangup() |
int |
RXTXPort.getDivisor()
Extension to CommAPI
|
abstract int |
SerialPort.getDivisor() |
byte |
RXTXPort.getEndOfInputChar()
Extension to CommAPI This is an extension to CommAPI.
|
abstract byte |
SerialPort.getEndOfInputChar() |
boolean |
RXTXPort.getLowLatency()
Extension to CommAPI returns boolean true on success
UnsupportedCommOperationException
|
abstract boolean |
SerialPort.getLowLatency() |
byte |
RXTXPort.getParityErrorChar()
Extension to CommAPI This is an extension to CommAPI.
|
abstract byte |
SerialPort.getParityErrorChar() |
String |
RXTXPort.getUARTType()
Extension to CommAPI This is an extension to CommAPI.
|
abstract String |
SerialPort.getUARTType() |
CommPort |
CommPortIdentifier.open(FileDescriptor f) |
boolean |
RXTXPort.setBaudBase(int BaudBase)
Extension to CommAPI.
|
abstract boolean |
SerialPort.setBaudBase(int BaudBase) |
boolean |
RXTXPort.setCallOutHangup(boolean NoHup)
Extension to CommAPI returns boolean true on success
UnsupportedCommOperationException
|
abstract boolean |
SerialPort.setCallOutHangup(boolean NoHup) |
boolean |
RXTXPort.setDivisor(int Divisor)
Extension to CommAPI.
|
abstract boolean |
SerialPort.setDivisor(int Divisor) |
boolean |
RXTXPort.setEndOfInputChar(byte b)
Extension to CommAPI This is an extension to CommAPI.
|
abstract boolean |
SerialPort.setEndOfInputChar(byte b) |
abstract void |
SerialPort.setFlowControlMode(int flowcontrol) |
boolean |
RXTXPort.setLowLatency()
Extension to CommAPI returns boolean true on success
UnsupportedCommOperationException
|
abstract boolean |
SerialPort.setLowLatency() |
boolean |
RXTXPort.setParityErrorChar(byte b)
Extension to CommAPI This is an extension to CommAPI.
|
abstract boolean |
SerialPort.setParityErrorChar(byte b) |
void |
RXTXPort.setSerialPortParams(int b,
int d,
int s,
int p) |
abstract void |
SerialPort.setSerialPortParams(int b,
int d,
int s,
int p) |
boolean |
RXTXPort.setUARTType(String type,
boolean test)
Extension to CommAPI This is an extension to CommAPI.
|
abstract boolean |
SerialPort.setUARTType(String type,
boolean test) |
static int |
RXTXPort.staticGetBaudRate(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static int |
RXTXPort.staticGetDataBits(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static int |
RXTXPort.staticGetParity(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static int |
RXTXPort.staticGetStopBits(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsCD(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsCTS(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsDSR(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsDTR(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsRI(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticIsRTS(String port)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticSetDSR(String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticSetDTR(String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI.
|
static boolean |
RXTXPort.staticSetRTS(String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI.
|
static void |
RXTXPort.staticSetSerialPortParams(String f,
int b,
int d,
int s,
int p)
Extension to CommAPI This is an extension to CommAPI.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RXTXPort |
RxTxPortCreator.createPort(String port) |
T |
SerialPortCreator.createPort(String portName)
Creates the
SerialPort and opens it for communication. |
SerialPort |
DefaultSerialPortFactory.createSerialPort(String portName) |
SerialPort |
SerialPortFactory.createSerialPort(String portName)
Creates a
SerialPort instance out of the given portName. |
<T extends SerialPort> |
DefaultSerialPortFactory.createSerialPort(String portName,
Class<T> expectedClass) |
<T extends SerialPort> |
SerialPortFactory.createSerialPort(String portName,
Class<T> expectedClass)
Creates a
SerialPort instance out of the given portName. |
Copyright © 2020. All rights reserved.