Beispiel #1
0
 /**
  * Change DTR line state. Set "true" for switching ON and "false" for switching OFF DTR line
  *
  * @return If the operation is successfully completed, the method returns true, otherwise false
  * @throws SerialPortException
  */
 public boolean setDTR(boolean enabled) throws SerialPortException {
   checkPortOpened("setDTR()");
   return serialInterface.setDTR(portHandle, enabled);
 }