def serial_connect(self):
self.serial_get()<EOL>try:<EOL><INDENT>self.serial_connection.start()<EOL><DEDENT>except c1218.errors.C1218IOError as error:<EOL><INDENT>self.logger.error('<STR_LIT>')<EOL>raise error<EOL><DEDENT>self._serial_connected = True<EOL>return True<EOL>
Connect to the serial device.