parameter command to set negative window for AD frames

This commit is contained in:
Jakob Meier 2023-02-23 15:20:46 +01:00
parent 24e9c25ba4
commit e47eb577fa

View File

@ -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