code: @Override
      public void open(SerialConfig serialConfig) throws IOException{
          // open the serial port with config settings
          open(serialConfig.device(),
               serialConfig.baud().getValue(),
               serialConfig.dataBits().getValue(),
               serialConfig.parity().getIndex(),
               serialConfig.stopBits().getValue(),
               serialConfig.flowControl().getIndex());
      }
docs: <p>
  This opens and initializes the serial port/device and sets the communication parameters.
  It sets the port into raw mode (character at a time and no translations).
  </p>
  
  <p>
  (ATTENTION: the 'device' argument can only be a maximum of 128 characters.)
  </p>
  
  @see #DEFAULT_COM_PORT
  
  @param serialConfig
  A serial configuration object that contains the device, baud rate, data bits, parity,
  stop bits, and flow control settings.
  
  @throws  IOException thrown on any error.