From bcdd12caf05b6a874b0d3ac2b9436c4061545312 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 25 Jan 2024 11:01:46 +0100 Subject: [PATCH] basic printout for wrong mode reply --- eive_tmtc/pus_tm/pus_handler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eive_tmtc/pus_tm/pus_handler.py b/eive_tmtc/pus_tm/pus_handler.py index 3dc6a57..f3e62d1 100644 --- a/eive_tmtc/pus_tm/pus_handler.py +++ b/eive_tmtc/pus_tm/pus_handler.py @@ -198,6 +198,8 @@ class PusHandler(SpecificApidHandlerBase): for string in string_list: self.pw.dlog(f"Reason: {string}") return True + if tm_packet.subservice == ModeSubservice.TM_WRONG_MODE_REPLY: + self.pw.dlog(f"Received Mode TM wrong mode reply, mode: {tm_packet.mode}") return False