Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addEventListener(SerialPortEventListener) - Method in class jssc.SerialPort
-
Add event listener.
- addEventListener(SerialPortEventListener, int) - Method in class jssc.SerialPort
-
Add event listener.
B
- BAUDRATE_110 - Static variable in class jssc.SerialPort
- BAUDRATE_115200 - Static variable in class jssc.SerialPort
- BAUDRATE_1200 - Static variable in class jssc.SerialPort
- BAUDRATE_128000 - Static variable in class jssc.SerialPort
- BAUDRATE_14400 - Static variable in class jssc.SerialPort
- BAUDRATE_19200 - Static variable in class jssc.SerialPort
- BAUDRATE_256000 - Static variable in class jssc.SerialPort
- BAUDRATE_300 - Static variable in class jssc.SerialPort
- BAUDRATE_38400 - Static variable in class jssc.SerialPort
- BAUDRATE_4800 - Static variable in class jssc.SerialPort
- BAUDRATE_57600 - Static variable in class jssc.SerialPort
- BAUDRATE_600 - Static variable in class jssc.SerialPort
- BAUDRATE_9600 - Static variable in class jssc.SerialPort
- BREAK - Static variable in class jssc.SerialPortEvent
C
- closePort() - Method in class jssc.SerialPort
-
Close port.
- closePort(long) - Method in class jssc.SerialNativeInterface
-
Close port
- CTS - Static variable in class jssc.SerialPortEvent
D
- DATABITS_5 - Static variable in class jssc.SerialPort
- DATABITS_6 - Static variable in class jssc.SerialPort
- DATABITS_7 - Static variable in class jssc.SerialPort
- DATABITS_8 - Static variable in class jssc.SerialPort
- DSR - Static variable in class jssc.SerialPortEvent
E
- ERR - Static variable in class jssc.SerialPortEvent
- ERR_INCORRECT_SERIAL_PORT - Static variable in class jssc.SerialNativeInterface
- ERR_PERMISSION_DENIED - Static variable in class jssc.SerialNativeInterface
- ERR_PORT_BUSY - Static variable in class jssc.SerialNativeInterface
- ERR_PORT_NOT_FOUND - Static variable in class jssc.SerialNativeInterface
- ERROR_FRAME - Static variable in class jssc.SerialPort
- ERROR_OVERRUN - Static variable in class jssc.SerialPort
- ERROR_PARITY - Static variable in class jssc.SerialPort
F
- FLOWCONTROL_NONE - Static variable in class jssc.SerialPort
- FLOWCONTROL_RTSCTS_IN - Static variable in class jssc.SerialPort
- FLOWCONTROL_RTSCTS_OUT - Static variable in class jssc.SerialPort
- FLOWCONTROL_XONXOFF_IN - Static variable in class jssc.SerialPort
- FLOWCONTROL_XONXOFF_OUT - Static variable in class jssc.SerialPort
G
- getBuffersBytesCount(long) - Method in class jssc.SerialNativeInterface
-
Get bytes count in buffers of port
- getEventsMask() - Method in class jssc.SerialPort
-
Getting events mask for the port
- getEventsMask(long) - Method in class jssc.SerialNativeInterface
-
Get events mask
- getEventType() - Method in class jssc.SerialPortEvent
-
Getting event type
- getEventValue() - Method in class jssc.SerialPortEvent
-
Getting event value
Event values depending on their types:
RXCHAR - bytes count in input buffer
RXFLAG - bytes count in input buffer (Not supported in Linux)
TXEMPTY - bytes count in output buffer
CTS - state of CTS line (0 - OFF, 1 - ON)
DSR - state of DSR line (0 - OFF, 1 - ON)
RLSD - state of RLSD line (0 - OFF, 1 - ON)
BREAK - 0
RING - state of RING line (0 - OFF, 1 - ON)
ERR - mask of errors - getExceptionType() - Method in exception class jssc.SerialPortException
-
Getting exception type
- getFlowControlMode() - Method in class jssc.SerialPort
-
Get flow control mode
- getFlowControlMode(long) - Method in class jssc.SerialNativeInterface
-
Get flow control mode
- getInputBufferBytesCount() - Method in class jssc.SerialPort
-
Get count of bytes in input buffer
- getLibraryBaseVersion() - Static method in class jssc.SerialNativeInterface
-
Get jSSC Base Version
- getLibraryMinorSuffix() - Static method in class jssc.SerialNativeInterface
-
Get jSSC minor suffix.
- getLibraryVersion() - Static method in class jssc.SerialNativeInterface
-
Get jSSC version.
- getLinesStatus() - Method in class jssc.SerialPort
-
Getting lines status.
- getLinesStatus(long) - Method in class jssc.SerialNativeInterface
-
Getting lines states
- getMethodName() - Method in exception class jssc.SerialPortException
-
Getting method name during execution of which the exception was called
- getMethodName() - Method in exception class jssc.SerialPortTimeoutException
-
Getting method name during execution of which the exception was called
- getNativeLibraryVersion() - Static method in class jssc.SerialNativeInterface
-
Get jSSC native library version
- getOsType() - Static method in class jssc.SerialNativeInterface
-
Get OS type (OS_LINUX || OS_WINDOWS || OS_SOLARIS)
- getOutputBufferBytesCount() - Method in class jssc.SerialPort
-
Get count of bytes in output buffer
- getPortName() - Method in class jssc.SerialPort
-
Getting port name under operation
- getPortName() - Method in class jssc.SerialPortEvent
-
Getting port name which sent the event
- getPortName() - Method in exception class jssc.SerialPortException
-
Getting port name during operation with which the exception was called
- getPortName() - Method in exception class jssc.SerialPortTimeoutException
-
Getting port name during operation with which the exception was called
- getPortNames() - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system using default settings:
Search path
Windows - ""(always ignored)
Linux - "/dev/"
Solaris - "/dev/term/"
MacOSX - "/dev/"
RegExp
Windows - ""
Linux - "(ttyS|ttyUSB|ttyACM|ttyAMA|rfcomm)[0-9]{1,3}"
Solaris - "[0-9]*|[a-z]*"
MacOSX - "tty.(serial|usbserial|usbmodem).*" - getPortNames(String) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system located on searchPath
- getPortNames(String, Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system located on searchPath and sorted by comparator
- getPortNames(String, Pattern) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system located on searchPath, matched pattern
- getPortNames(String, Pattern, Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system located on searchPath, matched pattern and sorted by comparator
- getPortNames(Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern
- getPortNames(Pattern) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern
- getPortNames(Pattern, Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern and sorted by comparator
- getSerialPortNames() - Method in class jssc.SerialNativeInterface
-
Get serial port names like an array of String
- getTimeoutValue() - Method in exception class jssc.SerialPortTimeoutException
-
Getting timeout value in millisecond
I
- isBREAK() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "BREAK" is received and otherwise false
- isCTS() - Method in class jssc.SerialPort
-
Get state of CTS line
- isCTS() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "CTS" is received and otherwise false
- isDSR() - Method in class jssc.SerialPort
-
Get state of DSR line
- isDSR() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "DSR" is received and otherwise false
- isERR() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "ERR" is received and otherwise false
- isOpened() - Method in class jssc.SerialPort
-
Getting port state
- isRING() - Method in class jssc.SerialPort
-
Get state of RING line
- isRING() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "RING" is received and otherwise false
- isRLSD() - Method in class jssc.SerialPort
-
Get state of RLSD line
- isRLSD() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "RLSD" is received and otherwise false
- isRXCHAR() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "RXCHAR" is received and otherwise false
- isRXFLAG() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "RXFLAG" is received and otherwise false
- isTXEMPTY() - Method in class jssc.SerialPortEvent
-
Method returns true if event of type "TXEMPTY" is received and otherwise false
J
- jssc - package jssc
M
- MASK_BREAK - Static variable in class jssc.SerialPort
- MASK_CTS - Static variable in class jssc.SerialPort
- MASK_DSR - Static variable in class jssc.SerialPort
- MASK_ERR - Static variable in class jssc.SerialPort
- MASK_RING - Static variable in class jssc.SerialPort
- MASK_RLSD - Static variable in class jssc.SerialPort
- MASK_RXCHAR - Static variable in class jssc.SerialPort
- MASK_RXFLAG - Static variable in class jssc.SerialPort
- MASK_TXEMPTY - Static variable in class jssc.SerialPort
O
- openPort() - Method in class jssc.SerialPort
-
Port opening
Note: If port busy TYPE_PORT_BUSY exception will be thrown. - openPort(String, boolean) - Method in class jssc.SerialNativeInterface
-
Open port
- OS_LINUX - Static variable in class jssc.SerialNativeInterface
- OS_MAC_OS_X - Static variable in class jssc.SerialNativeInterface
- OS_SOLARIS - Static variable in class jssc.SerialNativeInterface
- OS_WINDOWS - Static variable in class jssc.SerialNativeInterface
P
- PARITY_EVEN - Static variable in class jssc.SerialPort
- PARITY_MARK - Static variable in class jssc.SerialPort
- PARITY_NONE - Static variable in class jssc.SerialPort
- PARITY_ODD - Static variable in class jssc.SerialPort
- PARITY_SPACE - Static variable in class jssc.SerialPort
- PROPERTY_JSSC_IGNPAR - Static variable in class jssc.SerialNativeInterface
- PROPERTY_JSSC_NO_TIOCEXCL - Static variable in class jssc.SerialNativeInterface
- PROPERTY_JSSC_PARMRK - Static variable in class jssc.SerialNativeInterface
- PURGE_RXABORT - Static variable in class jssc.SerialPort
- PURGE_RXCLEAR - Static variable in class jssc.SerialPort
- PURGE_TXABORT - Static variable in class jssc.SerialPort
- PURGE_TXCLEAR - Static variable in class jssc.SerialPort
- purgePort(int) - Method in class jssc.SerialPort
-
Purge of input and output buffer.
- purgePort(long, int) - Method in class jssc.SerialNativeInterface
-
Purge of input and output buffer
R
- readBytes() - Method in class jssc.SerialPort
-
Read all available bytes from port like a byte array
- readBytes(int) - Method in class jssc.SerialPort
-
Read byte array from port
- readBytes(int, int) - Method in class jssc.SerialPort
-
Read byte array from port
- readBytes(long, int) - Method in class jssc.SerialNativeInterface
-
Read data from port
- readHexString() - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String
- readHexString(int) - Method in class jssc.SerialPort
-
Read Hex string from port (example: FF 0A FF).
- readHexString(int, int) - Method in class jssc.SerialPort
-
Read Hex string from port (example: FF 0A FF).
- readHexString(int, String) - Method in class jssc.SerialPort
-
Read Hex string from port with setted separator (example if separator is "::": FF::0A::FF)
- readHexString(int, String, int) - Method in class jssc.SerialPort
-
Read Hex string from port with setted separator (example if separator is "::": FF::0A::FF)
- readHexString(String) - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String with setted separator
- readHexStringArray() - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String array
- readHexStringArray(int) - Method in class jssc.SerialPort
-
Read Hex String array from port
- readHexStringArray(int, int) - Method in class jssc.SerialPort
-
Read Hex String array from port
- readIntArray() - Method in class jssc.SerialPort
-
Read all available bytes from port like a int array (values in range from 0 to 255)
- readIntArray(int) - Method in class jssc.SerialPort
-
Read int array from port
- readIntArray(int, int) - Method in class jssc.SerialPort
-
Read int array from port
- readString() - Method in class jssc.SerialPort
-
Read all available bytes from port like a String
- readString(int) - Method in class jssc.SerialPort
-
Read string from port
- readString(int, int) - Method in class jssc.SerialPort
-
Read string from port
- removeEventListener() - Method in class jssc.SerialPort
-
Delete event listener.
- RING - Static variable in class jssc.SerialPortEvent
- RLSD - Static variable in class jssc.SerialPortEvent
- RXCHAR - Static variable in class jssc.SerialPortEvent
- RXFLAG - Static variable in class jssc.SerialPortEvent
S
- sendBreak(int) - Method in class jssc.SerialPort
-
Send Break singnal for setted duration
- sendBreak(long, int) - Method in class jssc.SerialNativeInterface
-
Send Break singnal for setted duration
- serialEvent(SerialPortEvent) - Method in interface jssc.SerialPortEventListener
- SerialNativeInterface - Class in jssc
- SerialNativeInterface() - Constructor for class jssc.SerialNativeInterface
- SerialPort - Class in jssc
- SerialPort(String) - Constructor for class jssc.SerialPort
- SerialPortEvent - Class in jssc
- SerialPortEvent(String, int, int) - Constructor for class jssc.SerialPortEvent
- SerialPortEventListener - Interface in jssc
- SerialPortException - Exception Class in jssc
- SerialPortException(String, String, String) - Constructor for exception class jssc.SerialPortException
- SerialPortList - Class in jssc
- SerialPortList() - Constructor for class jssc.SerialPortList
- SerialPortTimeoutException - Exception Class in jssc
- SerialPortTimeoutException(String, String, int) - Constructor for exception class jssc.SerialPortTimeoutException
- setDTR(boolean) - Method in class jssc.SerialPort
-
Change DTR line state.
- setDTR(long, boolean) - Method in class jssc.SerialNativeInterface
-
Change DTR line state
- setEventsMask(int) - Method in class jssc.SerialPort
-
Set events mask.
- setEventsMask(long, int) - Method in class jssc.SerialNativeInterface
-
Set events mask
- setFlowControlMode(int) - Method in class jssc.SerialPort
-
Set flow control mode.
- setFlowControlMode(long, int) - Method in class jssc.SerialNativeInterface
-
Set flow control mode
- setParams(int, int, int, int) - Method in class jssc.SerialPort
-
Setting the parameters of port.
- setParams(int, int, int, int, boolean, boolean) - Method in class jssc.SerialPort
-
Setting the parameters of port
- setParams(long, int, int, int, int, boolean, boolean, int) - Method in class jssc.SerialNativeInterface
-
Setting the parameters of opened port
- setRTS(boolean) - Method in class jssc.SerialPort
-
Change RTS line state.
- setRTS(long, boolean) - Method in class jssc.SerialNativeInterface
-
Change RTS line state
- STOPBITS_1 - Static variable in class jssc.SerialPort
- STOPBITS_1_5 - Static variable in class jssc.SerialPort
- STOPBITS_2 - Static variable in class jssc.SerialPort
T
- TXEMPTY - Static variable in class jssc.SerialPortEvent
- TYPE_CANT_REMOVE_LISTENER - Static variable in exception class jssc.SerialPortException
- TYPE_CANT_SET_MASK - Static variable in exception class jssc.SerialPortException
- TYPE_INCORRECT_SERIAL_PORT - Static variable in exception class jssc.SerialPortException
- TYPE_LISTENER_ALREADY_ADDED - Static variable in exception class jssc.SerialPortException
- TYPE_LISTENER_THREAD_INTERRUPTED - Static variable in exception class jssc.SerialPortException
- TYPE_NULL_NOT_PERMITTED - Static variable in exception class jssc.SerialPortException
- TYPE_PARAMETER_IS_NOT_CORRECT - Static variable in exception class jssc.SerialPortException
- TYPE_PERMISSION_DENIED - Static variable in exception class jssc.SerialPortException
- TYPE_PORT_ALREADY_OPENED - Static variable in exception class jssc.SerialPortException
- TYPE_PORT_BUSY - Static variable in exception class jssc.SerialPortException
- TYPE_PORT_NOT_FOUND - Static variable in exception class jssc.SerialPortException
- TYPE_PORT_NOT_OPENED - Static variable in exception class jssc.SerialPortException
W
- waitEvents(long) - Method in class jssc.SerialNativeInterface
-
Wait events
- writeByte(byte) - Method in class jssc.SerialPort
-
Write single byte to port
- writeBytes(byte[]) - Method in class jssc.SerialPort
-
Write byte array to port
- writeBytes(long, byte[]) - Method in class jssc.SerialNativeInterface
-
Write data to port
- writeInt(int) - Method in class jssc.SerialPort
-
Write int value (in range from 0 to 255 (0x00 - 0xFF)) to port
- writeIntArray(int[]) - Method in class jssc.SerialPort
-
Write int array (in range from 0 to 255 (0x00 - 0xFF)) to port
- writeString(String) - Method in class jssc.SerialPort
-
Write String to port
- writeString(String, String) - Method in class jssc.SerialPort
-
Write String to port
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form