From 62c5a247209f4edf98b81e9bd5752c429636bbc3 Mon Sep 17 00:00:00 2001 From: Maximilian Luz <luzmaximilian@gmail.com> Date: Mon, 26 Oct 2020 17:05:25 +0100 Subject: [PATCH] update config for qemu/DLE --- config/obsw_com_config.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/config/obsw_com_config.py b/config/obsw_com_config.py index 93de2ba..77a4931 100644 --- a/config/obsw_com_config.py +++ b/config/obsw_com_config.py @@ -40,8 +40,13 @@ def set_communication_interface(tmtc_printer: TmTcPrinter) -> Union[Communicatio communication_interface.set_dle_settings( g.G_SERIAL_DLE_MAX_QUEUE_LEN, g.G_SERIAL_DLE_MAX_FRAME_SIZE, serial_timeout) elif g.G_COM_IF == g.ComIF.QEMU: + serial_timeout = g.G_SERIAL_TIMEOUT communication_interface = QEMUComIF( - tmtc_printer=tmtc_printer, serial_timeout=g.G_TM_TIMEOUT) + tmtc_printer=tmtc_printer, + serial_timeout=serial_timeout, + ser_com_type=SerialCommunicationType.DLE_ENCODING) + communication_interface.set_dle_settings( + g.G_SERIAL_DLE_MAX_QUEUE_LEN, g.G_SERIAL_DLE_MAX_FRAME_SIZE, serial_timeout) else: communication_interface = DummyComIF(tmtc_printer=tmtc_printer) if not communication_interface.valid: -- GitLab