def connectionLost(self, reason="connectionLost"): SerialPort.connectionLost(self, reason)
def __init__(self, *args, **kwargs): SerialPort.__init__(self, *args, **kwargs) self._tmp_data_buffer = []