Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`serialport`.`BaseSerialPort``

class documentation

`class BaseSerialPort: (source)`

Known subclasses: `twisted.internet._posixserialport.SerialPort`, `twisted.internet.serialport.SerialPort`

View In Hierarchy

Base class for Windows and POSIX serial ports.

Method | `flushInput` | Undocumented
Method | `flushOutput` | Undocumented
Method | `getCD` | Undocumented
Method | `getCTS` | Undocumented
Method | `getDSR` | Undocumented
Method | `getRI` | Undocumented
Method | `inWaiting` | Undocumented
Method | `sendBreak` | Undocumented
Method | `setBaudRate` | Undocumented
Method | `setDTR` | Undocumented
Method | `setRTS` | Undocumented
Instance Variable | `_serial` | a pyserial `serial.Serial` instance used to manage the options on the serial port.
Instance Variable | `_serialFactory` | a pyserial `serial.Serial` factory, used to create the instance stored in `self._serial`. Overrideable to enable easier testing.

def flushInput(self): (source)

Undocumented

def flushOutput(self): (source)

Undocumented

def getCD(self): (source)

Undocumented

def getCTS(self): (source)

Undocumented

def getDSR(self): (source)

Undocumented

def getRI(self): (source)

Undocumented

def inWaiting(self): (source)

Undocumented

def sendBreak(self): (source)

Undocumented

def setBaudRate(self, baudrate): (source)

Undocumented

def setDTR(self, on=1): (source)

Undocumented

def setRTS(self, on=1): (source)

Undocumented

_serial = (source)
overridden in `twisted.internet._posixserialport.SerialPort`, `twisted.internet.serialport.SerialPort`

a pyserial `serial.Serial` instance used to manage the options on the serial port.

_serialFactory = (source)

a pyserial `serial.Serial` factory, used to create the instance stored in `self._serial`. Overrideable to enable easier testing.