def create_rflink_connection(port=None, host=None, baud=<NUM_LIT>, protocol=RflinkProtocol,<EOL>packet_callback=None, event_callback=None,<EOL>disconnect_callback=None, ignore=None, loop=None):
<EOL>protocol = partial(<EOL>protocol,<EOL>loop=loop if loop else asyncio.get_event_loop(),<EOL>packet_callback=packet_callback,<EOL>event_callback=event_callback,<EOL>disconnect_callback=disconnect_callback,<EOL>ignore=ignore if ignore else [],<EOL>)<EOL>if host:<EOL><INDENT>conn = loop.create_connection(protocol, host, port)<EOL><DEDENT>else:<EOL><INDENT>baud = baud<EOL>conn = create_serial_connection(loop, protocol, port, baud)<EOL><DEDENT>return conn<EOL>
Create Rflink manager class, returns transport coroutine.