basic info event handling

This commit is contained in:
Robin Müller 2022-10-10 11:20:10 +02:00
parent f35c96eecc
commit 656a534ba7
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -58,6 +58,9 @@ def handle_event_packet(raw_tm: bytes, printer: FsfwTmTcPrinter):
) )
pw.dlog(additional_event_info) pw.dlog(additional_event_info)
pw.dlog(context) pw.dlog(context)
if info.name == "MODE_INFO":
pw.dlog(f"Mode: {tm.param_1}")
pw.dlog(f"Submode: {tm.param_2}")
else: else:
specific_handler = False specific_handler = False
if info.info != "": if info.info != "":