diff --git a/tc/obsw_tc_service20.py b/tc/obsw_tc_service20.py index f0973ce9a03e5c0212a770edb98a615d604e5de3..97165b3469eaba7b1d84a7e814f65678ea26fad3 100644 --- a/tc/obsw_tc_service20.py +++ b/tc/obsw_tc_service20.py @@ -29,32 +29,6 @@ def pack_service20_test_into(tc_queue: Deque, called_externally: bool = False) - command = PusTelecommand(service=200, subservice=1, ssc=2000, app_data=mode_data) tc_queue.appendleft(command.pack_command_tuple()) - #test invalid subservice - #use subservice 130 for invalid subservice check, as this is in use for dump reply - #(and therefore will never be a valid subservice) - #tc_queue.appendleft(("print", "Testing Service 20: Invalid subservice")) - #mode_data = pack_mode_data(object_id, 2, 0) - #command = PusTelecommand(service=20, subservice=130, ssc=810, app_data=mode_data) - #tc_queue.appendleft(command.pack_command_tuple()) - - #test invalid objectid //TODO: do we have an objectid known to be empty (even in future)? - #tc_queue.appendleft(("print", "Testing Service 20: Invalid object ID")) - #mode_data = pack_mode_data(object_id, 2, 0) - #command = PusTelecommand(service=20, subservice=128, ssc=810, app_data=mode_data) - #tc_queue.appendleft(command.pack_command_tuple()) - - #test invalid parameterID for load - #tc_queue.appendleft(("print", "Testing Service 20: Invalid parameter ID for load")) - #mode_data = pack_mode_data(object_id, 2, 0) - #command = PusTelecommand(service=20, subservice=128, ssc=810, app_data=mode_data) - #tc_queue.appendleft(command.pack_command_tuple()) - - #test invalid parameterID for dump - #tc_queue.appendleft(("print", "Testing Service 20: Invalid parameter ID for dump")) - #mode_data = pack_mode_data(object_id, 2, 0) - #command = PusTelecommand(service=20, subservice=129, ssc=810, app_data=mode_data) - #tc_queue.appendleft(command.pack_command_tuple()) - #test checking Load for uint32_t tc_queue.appendleft(("print", "Testing Service 20: Load uint32_t")) parameter_id = struct.pack(">I", parameterID0)