예제 #1
0
 public boolean getCTS() {
   try {
     return port.isCTS();
   } catch (SerialPortException e) {
     throw new RuntimeException("Error reading the CTS line: " + e.getExceptionType());
   }
 }