diff --git a/eive_tmtc/tmtc/com/pdec_handler.py b/eive_tmtc/tmtc/com/pdec_handler.py index c11d99c..508a5da 100644 --- a/eive_tmtc/tmtc/com/pdec_handler.py +++ b/eive_tmtc/tmtc/com/pdec_handler.py @@ -77,6 +77,19 @@ def pack_pdec_handler_test( ).pack() ) ) + if op_code == OpCode.NEGATIVE_WINDOW: + q.add_log_cmd(f"{prefix}: {Info.NEGATIVE_WINDOW}") + nw = int(input("Specify negative window to set: ")) + q.add_pus_tc( + create_load_param_cmd( + create_scalar_u8_parameter( + object_id, + 0, + ParameterId.NEGATIVE_WINDOW, + nw, + ).pack() + ) + ) @tmtc_definitions_provider