(self)
Get serial port connection parameters.
Get serial port connection parameters.
Get serial port connection parameters .
def get_params(self):
        """Get serial port connection parameters."""
        with safe_io(error.DEVICE_FAULT):
            self._check_open()
            return (
                self._serial.baudrate, self._serial.parity.encode('ascii'),
                self._serial.bytesize, self._serial.stopbits
            )
def get_params ( self ) : with safe_io ( error . DEVICE_FAULT ) : self . _check_open ( ) return ( self . _serial . baudrate , self . _serial . parity . encode ( 'ascii' ) , self . _serial . bytesize , self . _serial . stopbits )