From 656a534ba70824fcdf86d53bd1cfb87c6e70779c Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 10 Oct 2022 11:20:10 +0200 Subject: [PATCH] basic info event handling --- pus_tm/event_handler.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pus_tm/event_handler.py b/pus_tm/event_handler.py index e7315cb..68df29a 100644 --- a/pus_tm/event_handler.py +++ b/pus_tm/event_handler.py @@ -58,6 +58,9 @@ def handle_event_packet(raw_tm: bytes, printer: FsfwTmTcPrinter): ) pw.dlog(additional_event_info) pw.dlog(context) + if info.name == "MODE_INFO": + pw.dlog(f"Mode: {tm.param_1}") + pw.dlog(f"Submode: {tm.param_2}") else: specific_handler = False if info.info != "":