parameter command to set negative window for AD frames

This commit is contained in:
Jakob Meier committed 2023-02-23 15:20:46 +01:00
1 parent 24e9c25ba4
commit e47eb577fa
1 file changed
+13
+13
View File
@@ -77,6 +77,19 @@ def pack_pdec_handler_test(
).pack() ).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 @tmtc_definitions_provider