@Override
        public boolean open() {
            if (comPort.openPort()) {
                comPort.setComPortParameters(config.getBaudRate(), config.getDataBits(),
                    config.getStopBits(), config.getParity().value);
                return true;
            }
            return false;
        }
@return Number of bytes written to wire
plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialChannelHandler.java