- getBuffersBytesCount(long) - Method in class jssc.SerialNativeInterface
-
Get bytes count in buffers of port
- getEventsMask(long) - Method in class jssc.SerialNativeInterface
-
Get events mask
- getEventsMask() - Method in class jssc.SerialPort
-
Getting events mask for the port
- 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 jssc.SerialPortException
-
Getting exception type
- getFlowControlMode(long) - Method in class jssc.SerialNativeInterface
-
Get flow control mode
- getFlowControlMode() - Method in class jssc.SerialPort
-
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(long) - Method in class jssc.SerialNativeInterface
-
Getting lines states
- getLinesStatus() - Method in class jssc.SerialPort
-
Getting lines status.
- getMethodName() - Method in exception jssc.SerialPortException
-
Getting method name during execution of which the exception was called
- getMethodName() - Method in exception 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 jssc.SerialPortException
-
Getting port name during operation with which the exception was called
- getPortName() - Method in exception 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(Pattern) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern
- getPortNames(Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern
- 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, 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(Pattern, Comparator<String>) - Static method in class jssc.SerialPortList
-
Get sorted array of serial ports in the system matched pattern and sorted by comparator
- 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
- getSerialPortNames() - Method in class jssc.SerialNativeInterface
-
Get serial port names like an array of String
- getTimeoutValue() - Method in exception jssc.SerialPortTimeoutException
-
Getting timeout value in millisecond
- readBytes(long, int) - Method in class jssc.SerialNativeInterface
-
Read data from port
- 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() - Method in class jssc.SerialPort
-
Read all available bytes from port like a byte array
- readHexString(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, int) - Method in class jssc.SerialPort
-
Read Hex string from port (example: 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() - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String
- readHexString(String) - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String with setted separator
- 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
- readHexStringArray() - Method in class jssc.SerialPort
-
Read all available bytes from port like a Hex String array
- 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
- readIntArray() - Method in class jssc.SerialPort
-
Read all available bytes from port like a int array (values in range from 0 to 255)
- readString(int) - Method in class jssc.SerialPort
-
Read string from port
- readString(int, int) - Method in class jssc.SerialPort
-
Read string from port
- readString() - Method in class jssc.SerialPort
-
Read all available bytes from port like a String
- 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
-