@asyncio.coroutine<EOL><INDENT>def forward_packet(self, writer, packet, raw_packet):<DEDENT>
peer = writer.get_extra_info('<STR_LIT>')<EOL>log.debug('<STR_LIT>', peer[<NUM_LIT:0>], peer[<NUM_LIT:1>], packet)<EOL>if '<STR_LIT>' in packet:<EOL><INDENT>packet_id = serialize_packet_id(packet)<EOL>command = packet['<STR_LIT>']<EOL>ack = yield from self.protocol.send_command_ack(<EOL>packet_id, command)<EOL>if ack:<EOL><INDENT>writer.write("<STR_LIT>".encode() + CRLF)<EOL><DEDENT>for _ in range(DEFAULT_SIGNAL_REPETITIONS-<NUM_LIT:1>):<EOL><INDENT>yield from self.protocol.send_command_ack(<EOL>packet_id, command)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.protocol.send_raw_packet(raw_packet)<EOL><DEDENT>
Forward packet from client to RFLink.