# Constant Field Values

## Contents

- jssc.*

## jssc.*

- jssc.SerialNativeInterface
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final long` | `ERR_INCORRECT_SERIAL_PORT` | `-4L`
  `public static final long` | `ERR_PERMISSION_DENIED` | `-3L`
  `public static final long` | `ERR_PORT_BUSY` | `-1L`
  `public static final long` | `ERR_PORT_NOT_FOUND` | `-2L`
  `public static final int` | `OS_LINUX` | `0`
  `public static final int` | `OS_MAC_OS_X` | `3`
  `public static final int` | `OS_SOLARIS` | `2`
  `public static final int` | `OS_WINDOWS` | `1`
  `public static final java.lang.String` | `PROPERTY_JSSC_IGNPAR` | `"JSSC_IGNPAR"`
  `public static final java.lang.String` | `PROPERTY_JSSC_NO_TIOCEXCL` | `"JSSC_NO_TIOCEXCL"`
  `public static final java.lang.String` | `PROPERTY_JSSC_PARMRK` | `"JSSC_PARMRK"`

- jssc.SerialPort
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `BAUDRATE_110` | `110`
  `public static final int` | `BAUDRATE_115200` | `115200`
  `public static final int` | `BAUDRATE_1200` | `1200`
  `public static final int` | `BAUDRATE_128000` | `128000`
  `public static final int` | `BAUDRATE_14400` | `14400`
  `public static final int` | `BAUDRATE_19200` | `19200`
  `public static final int` | `BAUDRATE_256000` | `256000`
  `public static final int` | `BAUDRATE_300` | `300`
  `public static final int` | `BAUDRATE_38400` | `38400`
  `public static final int` | `BAUDRATE_4800` | `4800`
  `public static final int` | `BAUDRATE_57600` | `57600`
  `public static final int` | `BAUDRATE_600` | `600`
  `public static final int` | `BAUDRATE_9600` | `9600`
  `public static final int` | `DATABITS_5` | `5`
  `public static final int` | `DATABITS_6` | `6`
  `public static final int` | `DATABITS_7` | `7`
  `public static final int` | `DATABITS_8` | `8`
  `public static final int` | `ERROR_FRAME` | `8`
  `public static final int` | `ERROR_OVERRUN` | `2`
  `public static final int` | `ERROR_PARITY` | `4`
  `public static final int` | `FLOWCONTROL_NONE` | `0`
  `public static final int` | `FLOWCONTROL_RTSCTS_IN` | `1`
  `public static final int` | `FLOWCONTROL_RTSCTS_OUT` | `2`
  `public static final int` | `FLOWCONTROL_XONXOFF_IN` | `4`
  `public static final int` | `FLOWCONTROL_XONXOFF_OUT` | `8`
  `public static final int` | `MASK_BREAK` | `64`
  `public static final int` | `MASK_CTS` | `8`
  `public static final int` | `MASK_DSR` | `16`
  `public static final int` | `MASK_ERR` | `128`
  `public static final int` | `MASK_RING` | `256`
  `public static final int` | `MASK_RLSD` | `32`
  `public static final int` | `MASK_RXCHAR` | `1`
  `public static final int` | `MASK_RXFLAG` | `2`
  `public static final int` | `MASK_TXEMPTY` | `4`
  `public static final int` | `PARITY_EVEN` | `2`
  `public static final int` | `PARITY_MARK` | `3`
  `public static final int` | `PARITY_NONE` | `0`
  `public static final int` | `PARITY_ODD` | `1`
  `public static final int` | `PARITY_SPACE` | `4`
  `public static final int` | `PURGE_RXABORT` | `2`
  `public static final int` | `PURGE_RXCLEAR` | `8`
  `public static final int` | `PURGE_TXABORT` | `1`
  `public static final int` | `PURGE_TXCLEAR` | `4`
  `public static final int` | `STOPBITS_1` | `1`
  `public static final int` | `STOPBITS_1_5` | `3`
  `public static final int` | `STOPBITS_2` | `2`

- jssc.SerialPortEvent
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `BREAK` | `64`
  `public static final int` | `CTS` | `8`
  `public static final int` | `DSR` | `16`
  `public static final int` | `ERR` | `128`
  `public static final int` | `RING` | `256`
  `public static final int` | `RLSD` | `32`
  `public static final int` | `RXCHAR` | `1`
  `public static final int` | `RXFLAG` | `2`
  `public static final int` | `TXEMPTY` | `4`

- jssc.SerialPortException
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `TYPE_CANT_REMOVE_LISTENER` | `"Can\'t remove event listener, because listener not added"`
  `public static final java.lang.String` | `TYPE_CANT_SET_MASK` | `"Can\'t set mask"`
  `public static final java.lang.String` | `TYPE_INCORRECT_SERIAL_PORT` | `"Incorrect serial port"`
  `public static final java.lang.String` | `TYPE_LISTENER_ALREADY_ADDED` | `"Event listener already added"`
  `public static final java.lang.String` | `TYPE_LISTENER_THREAD_INTERRUPTED` | `"Event listener thread interrupted"`
  `public static final java.lang.String` | `TYPE_NULL_NOT_PERMITTED` | `"Null not permitted"`
  `public static final java.lang.String` | `TYPE_PARAMETER_IS_NOT_CORRECT` | `"Parameter is not correct"`
  `public static final java.lang.String` | `TYPE_PERMISSION_DENIED` | `"Permission denied"`
  `public static final java.lang.String` | `TYPE_PORT_ALREADY_OPENED` | `"Port already opened"`
  `public static final java.lang.String` | `TYPE_PORT_BUSY` | `"Port busy"`
  `public static final java.lang.String` | `TYPE_PORT_NOT_FOUND` | `"Port not found"`
  `public static final java.lang.String` | `TYPE_PORT_NOT_OPENED` | `"Port not opened"`