Package serialComms
Class SerialPortConstants
java.lang.Object
serialComms.SerialPortConstants
Constants copied from the RXTX library gnu.io.SerialPortInterface. Values are
reproduced here so that the RXTX library can be removed but the constants still available
for use by other classes.
Important: the majority of the constants are commented out because the jSerialComm library uses
it's own constants. They match the RXTX library for Parity, BUT ARE DIFFERENT FOR STOP BITS AND
FLOWCONTROL. The jSerialComm values are given below the RXTX values for reference. We don't think
this is a big problem because Flowcontrol NONE and Stop Bits 1 is the same in both libraries, and that's generally
what most people will be using.
- Author:
- mo55
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
DATABITS_5
public static final int DATABITS_5- See Also:
-
DATABITS_6
public static final int DATABITS_6- See Also:
-
DATABITS_7
public static final int DATABITS_7- See Also:
-
DATABITS_8
public static final int DATABITS_8- See Also:
-
-
Constructor Details
-
SerialPortConstants
public SerialPortConstants()
-