diff --git a/tc/obsw_tc_service8.py b/tc/obsw_tc_service8.py index bc0b8592a32afae7dcac5b825f596ebb74fffe0c..5d1b8189cd88d18d4c73b80922f093696d411440 100644 --- a/tc/obsw_tc_service8.py +++ b/tc/obsw_tc_service8.py @@ -51,7 +51,14 @@ def pack_service8_test_into(tc_queue: Deque, called_externally: bool = False) -> direct_command = object_id + action_id command = PusTelecommand(service=8, subservice=128, ssc=840, app_data=direct_command) tc_queue.appendleft(command.pack_command_tuple()) + + # set mode off + tc_queue.appendleft(("print", "Testing Service 8: Set Off Mode")) + mode_data = pack_mode_data(object_id, 0, 0) + command = PusTelecommand(service=200, subservice=1, ssc=800, app_data=mode_data) + tc_queue.appendleft(command.pack_command_tuple()) tc_queue.appendleft(("wait", 2)) + if called_externally is False: tc_queue.appendleft(("export", "log/tmtc_log_service8.txt")) return tc_queue