SEDbgMuxApp: fix do_ping(): ACKnowledge Pong message

This commit is contained in:
Vadim Yanitskiy 2022-02-22 01:09:10 +06:00
parent 88553524a3
commit 37426267f4
1 changed files with 1 additions and 0 deletions

View File

@ -129,6 +129,7 @@ class SEDbgMuxApp(cmd2.Cmd):
f = self.peer.recv() f = self.peer.recv()
assert f['MsgType'] == DbgMuxFrame.MsgType.Pong assert f['MsgType'] == DbgMuxFrame.MsgType.Pong
log.info('Rx Pong with payload \'%s\'', f['Msg']) log.info('Rx Pong with payload \'%s\'', f['Msg'])
self.peer.send(DbgMuxFrame.MsgType.Ack)
establish_parser = cmd2.Cmd2ArgumentParser() establish_parser = cmd2.Cmd2ArgumentParser()
establish_parser.add_argument('DPRef', establish_parser.add_argument('DPRef',