class documentation

class twisted.internet.serialport.BaseSerialPort: (source)

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

View In Hierarchy

Base class for Windows and POSIX serial ports.

Method setBaudRate Undocumented
Method inWaiting Undocumented
Method flushInput Undocumented
Method flushOutput Undocumented
Method sendBreak Undocumented
Method getDSR Undocumented
Method getCD Undocumented
Method getRI Undocumented
Method getCTS Undocumented
Method setDTR Undocumented
Method setRTS Undocumented
Instance Variable _serialFactory a pyserial serial.Serial factory, used to create the instance stored in self._serial. Overrideable to enable easier testing.
Instance Variable _serial 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.
_serial = (source)
a pyserial serial.Serial instance used to manage the options on the serial port.
def setBaudRate(self, baudrate): (source)

Undocumented

def inWaiting(self): (source)

Undocumented

def flushInput(self): (source)

Undocumented

def flushOutput(self): (source)

Undocumented

def sendBreak(self): (source)

Undocumented

def getDSR(self): (source)

Undocumented

def getCD(self): (source)

Undocumented

def getRI(self): (source)

Undocumented

def getCTS(self): (source)

Undocumented

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

Undocumented

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

Undocumented

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.