Package jtermios

Class JTermios


  • public class JTermios
    extends Object
    JTermios provides a limited cross platform unix termios type interface to serial ports.
    Author:
    nyholku
    • Field Detail

      • FIONREAD

        public static int FIONREAD
      • O_RDWR

        public static int O_RDWR
      • O_NONBLOCK

        public static int O_NONBLOCK
      • O_NOCTTY

        public static int O_NOCTTY
      • O_NDELAY

        public static int O_NDELAY
      • O_CREAT

        public static int O_CREAT
      • F_GETFL

        public static int F_GETFL
      • F_SETFL

        public static int F_SETFL
      • EAGAIN

        public static int EAGAIN
      • EBADF

        public static int EBADF
      • EACCES

        public static int EACCES
      • EEXIST

        public static int EEXIST
      • EINTR

        public static int EINTR
      • EINVAL

        public static int EINVAL
      • EIO

        public static int EIO
      • EISDIR

        public static int EISDIR
      • ELOOP

        public static int ELOOP
      • EMFILE

        public static int EMFILE
      • ENAMETOOLONG

        public static int ENAMETOOLONG
      • ENFILE

        public static int ENFILE
      • ENOENT

        public static int ENOENT
      • ENOSR

        public static int ENOSR
      • ENOSPC

        public static int ENOSPC
      • ENOTDIR

        public static int ENOTDIR
      • ENXIO

        public static int ENXIO
      • EOVERFLOW

        public static int EOVERFLOW
      • EROFS

        public static int EROFS
      • ENOTSUP

        public static int ENOTSUP
      • EBUSY

        public static int EBUSY
      • ENOTTY

        public static int ENOTTY
      • TIOCM_RNG

        public static int TIOCM_RNG
      • TIOCM_CAR

        public static int TIOCM_CAR
      • IGNBRK

        public static int IGNBRK
      • BRKINT

        public static int BRKINT
      • IGNPAR

        public static int IGNPAR
      • PARMRK

        public static int PARMRK
      • INLCR

        public static int INLCR
      • IGNCR

        public static int IGNCR
      • ICRNL

        public static int ICRNL
      • ECHONL

        public static int ECHONL
      • IEXTEN

        public static int IEXTEN
      • CLOCAL

        public static int CLOCAL
      • OPOST

        public static int OPOST
      • VSTART

        public static int VSTART
      • TCSANOW

        public static int TCSANOW
      • VSTOP

        public static int VSTOP
      • VMIN

        public static int VMIN
      • VTIME

        public static int VTIME
      • VEOF

        public static int VEOF
      • TIOCMGET

        public static int TIOCMGET
      • TIOCM_CTS

        public static int TIOCM_CTS
      • TIOCM_DSR

        public static int TIOCM_DSR
      • TIOCM_RI

        public static int TIOCM_RI
      • TIOCM_CD

        public static int TIOCM_CD
      • TIOCM_DTR

        public static int TIOCM_DTR
      • TIOCM_RTS

        public static int TIOCM_RTS
      • ICANON

        public static int ICANON
      • ECHO

        public static int ECHO
      • ECHOE

        public static int ECHOE
      • ISIG

        public static int ISIG
      • TIOCMSET

        public static int TIOCMSET
      • IXON

        public static int IXON
      • IXOFF

        public static int IXOFF
      • IXANY

        public static int IXANY
      • CRTSCTS

        public static int CRTSCTS
      • TCSADRAIN

        public static int TCSADRAIN
      • INPCK

        public static int INPCK
      • ISTRIP

        public static int ISTRIP
      • CSIZE

        public static int CSIZE
      • TCIFLUSH

        public static int TCIFLUSH
      • TCOFLUSH

        public static int TCOFLUSH
      • TCIOFLUSH

        public static int TCIOFLUSH
      • CS5

        public static int CS5
      • CS6

        public static int CS6
      • CS7

        public static int CS7
      • CS8

        public static int CS8
      • CSTOPB

        public static int CSTOPB
      • CREAD

        public static int CREAD
      • PARENB

        public static int PARENB
      • PARODD

        public static int PARODD
      • CMSPAR

        public static int CMSPAR
      • B0

        public static int B0
      • B50

        public static int B50
      • B75

        public static int B75
      • B110

        public static int B110
      • B134

        public static int B134
      • B150

        public static int B150
      • B200

        public static int B200
      • B300

        public static int B300
      • B600

        public static int B600
      • B1200

        public static int B1200
      • B1800

        public static int B1800
      • B2400

        public static int B2400
      • B4800

        public static int B4800
      • B9600

        public static int B9600
      • B19200

        public static int B19200
      • B38400

        public static int B38400
      • B7200

        public static int B7200
      • B14400

        public static int B14400
      • B28800

        public static int B28800
      • B57600

        public static int B57600
      • B76800

        public static int B76800
      • B115200

        public static int B115200
      • B230400

        public static int B230400
      • POLLIN

        public static short POLLIN
      • POLLPRI

        public static short POLLPRI
      • POLLOUT

        public static short POLLOUT
      • POLLERR

        public static short POLLERR
      • POLLERR_OUT

        public static short POLLERR_OUT
      • POLLNVAL

        public static short POLLNVAL
      • DC1

        public static int DC1
      • DC3

        public static int DC3
    • Constructor Detail

      • JTermios

        public JTermios()
    • Method Detail

      • shutdown

        public void shutdown()
      • errno

        public static int errno()
      • fcntl

        public static int fcntl​(int fd,
                                int cmd,
                                int arg)
      • cfgetispeed

        public static int cfgetispeed​(Termios termios)
      • cfgetospeed

        public static int cfgetospeed​(Termios termios)
      • cfsetispeed

        public static int cfsetispeed​(Termios termios,
                                      int speed)
      • cfsetospeed

        public static int cfsetospeed​(Termios termios,
                                      int speed)
      • setspeed

        public static int setspeed​(int fd,
                                   Termios termios,
                                   int speed)
      • tcflush

        public static int tcflush​(int a,
                                  int b)
      • tcdrain

        public static int tcdrain​(int fd)
      • cfmakeraw

        public static void cfmakeraw​(int fd,
                                     Termios termios)
      • tcgetattr

        public static int tcgetattr​(int fd,
                                    Termios termios)
      • tcsetattr

        public static int tcsetattr​(int fd,
                                    int cmd,
                                    Termios termios)
      • tcsendbreak

        public static int tcsendbreak​(int fd,
                                      int duration)
      • open

        public static int open​(String s,
                               int t)
      • close

        public static int close​(int fd)
      • write

        public static int write​(int fd,
                                byte[] buffer,
                                int len)
      • read

        public static int read​(int fd,
                               byte[] buffer,
                               int len)
      • ioctl

        public static int ioctl​(int fd,
                                int cmd,
                                int... data)
      • poll

        public static int poll​(Pollfd[] fds,
                               int nfds,
                               int timeout)
      • canPoll

        public static boolean canPoll()
      • pipe

        public static int pipe​(int[] fds)
      • perror

        public static void perror​(String msg)
      • FD_ISSET

        public static boolean FD_ISSET​(int fd,
                                       JTermios.FDSet set)
      • getPortList

        public static List<String> getPortList()