def get_params(self):
        """
        Get parameters as a tuple.

        :return: timeout, xonxoff, rtscts, baudrate
        """
        return self.timeout, self.xonxoff, self.rtscts, self.baudrate
Get parameters as a tuple.

        :return: timeout, xonxoff, rtscts, baudrate