Beispiel #1
0
 /**
  * Write byte array to port
  *
  * @return If the operation is successfully completed, the method returns true, otherwise false
  * @throws SerialPortException
  */
 public boolean writeBytes(byte[] buffer) throws SerialPortException {
   checkPortOpened("writeBytes()");
   return serialInterface.writeBytes(portHandle, buffer);
 }