Class SerialPortJNI

    • Constructor Detail

      • SerialPortJNI

        public SerialPortJNI()
    • Method Detail

      • serialInitializePort

        public static void serialInitializePort​(byte port)
      • serialInitializePortDirect

        public static void serialInitializePortDirect​(byte port,
                                                      String portName)
      • serialSetBaudRate

        public static void serialSetBaudRate​(byte port,
                                             int baud)
      • serialSetDataBits

        public static void serialSetDataBits​(byte port,
                                             byte bits)
      • serialSetParity

        public static void serialSetParity​(byte port,
                                           byte parity)
      • serialSetStopBits

        public static void serialSetStopBits​(byte port,
                                             byte stopBits)
      • serialSetWriteMode

        public static void serialSetWriteMode​(byte port,
                                              byte mode)
      • serialSetFlowControl

        public static void serialSetFlowControl​(byte port,
                                                byte flow)
      • serialSetTimeout

        public static void serialSetTimeout​(byte port,
                                            double timeout)
      • serialEnableTermination

        public static void serialEnableTermination​(byte port,
                                                   char terminator)
      • serialDisableTermination

        public static void serialDisableTermination​(byte port)
      • serialSetReadBufferSize

        public static void serialSetReadBufferSize​(byte port,
                                                   int size)
      • serialSetWriteBufferSize

        public static void serialSetWriteBufferSize​(byte port,
                                                    int size)
      • serialGetBytesReceived

        public static int serialGetBytesReceived​(byte port)
      • serialRead

        public static int serialRead​(byte port,
                                     byte[] buffer,
                                     int count)
      • serialWrite

        public static int serialWrite​(byte port,
                                      byte[] buffer,
                                      int count)
      • serialFlush

        public static void serialFlush​(byte port)
      • serialClear

        public static void serialClear​(byte port)
      • serialClose

        public static void serialClose​(byte port)