parameters: (self)
return_statement: return struct.unpack('I',s)[0] & TIOCM_DSR != 0
docstring: Read terminal status line: Data Set Ready
docstring_summary: Read terminal status line: Data Set Ready
docstring_tokens: Read terminal status line : Data Set Ready
function: def getDSR(self):
          """Read terminal status line: Data Set Ready"""
          if not self._isOpen: raise portNotOpenError
          s = fcntl.ioctl(self.fd, TIOCMGET, TIOCM_zero_str)
          return struct.unpack('I',s)[0] & TIOCM_DSR != 0
function_tokens: def getDSR ( self ) : if not self . _isOpen : raise portNotOpenError s = fcntl . ioctl ( self . fd , TIOCMGET , TIOCM_zero_str ) return struct . unpack ( 'I' , s ) [ 0 ] & TIOCM_DSR != 0