Connection connection = new Connection(config.getSerialPort(),
config.getEchoHandling(), config.getBaudRateChangeDelay());
try {
try {
connection.open();
} catch (IOException e) {
logger.error("Failed to open serial port {}: {}",
config.getSerialPort(), e.getMessage());
return dataSetMap;
}