add basic mode event handling

This commit is contained in:
Robin Müller 2022-10-10 11:20:57 +02:00
parent 72fa0ae15a
commit 6e493064a7
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 3 additions and 0 deletions

View File

@ -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 != "":