def __init__(self, *args, packet_callback: Callable = None,<EOL>**kwargs) -> None:
super().__init__(*args, **kwargs)<EOL>if packet_callback:<EOL><INDENT>self.packet_callback = packet_callback<EOL><DEDENT>self._command_ack = asyncio.Event(loop=self.loop)<EOL>self._ready_to_send = asyncio.Lock(loop=self.loop)<EOL>
Add packethandling specific initialization.