From 122ba22ffcda3fe7e6fde85d64404e3d01fe4174 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" <robin.mueller.m@gmail.com> Date: Thu, 28 May 2020 17:32:54 +0200 Subject: [PATCH] device is switched off at end of srv2 test --- tc/obsw_tc_service2.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tc/obsw_tc_service2.py b/tc/obsw_tc_service2.py index 1e44d92..cdd54b6 100644 --- a/tc/obsw_tc_service2.py +++ b/tc/obsw_tc_service2.py @@ -44,6 +44,12 @@ def pack_service2_test_into(tc_queue: Deque, called_externally: bool = False) -> tc_queue.appendleft(("print", "Testing Service 2: Send second raw command")) command = PusTelecommand(service=2, subservice=128, ssc=205, app_data=raw_data) tc_queue.appendleft(command.pack_command_tuple()) + + # Set mode off + tc_queue.appendleft(("print", "Testing Service 2: Setting Off Mode")) + mode_data = pack_mode_data(object_id, 0, 0) + command = PusTelecommand(service=200, subservice=1, ssc=2020, app_data=mode_data) + tc_queue.appendleft(command.pack_command_tuple()) if called_externally is False: tc_queue.appendleft(("export", "log/tmtc_log_service2.txt")) return tc_queue -- GitLab