def __init__(self, driver=None, handshake="start", seperator='\n', *args, **kwargs): BaseTextSerialProtocol.__init__(self, driver, handshake, seperator)
def __init__(self, driver=None, handshake="start", seperator='\n', do_checksum=False, *args, **kwargs): BaseTextSerialProtocol.__init__(self, driver, handshake, seperator) self.do_checksum = do_checksum self.line_count = 0