From 50abe69f261b7d2a3345d86bd7042514ff845fd3 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 13 Oct 2022 17:34:10 +0200 Subject: [PATCH] add some p60dock cfg TM entries --- tmtc/power/tm.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmtc/power/tm.py b/tmtc/power/tm.py index 9441116..9f918f1 100644 --- a/tmtc/power/tm.py +++ b/tmtc/power/tm.py @@ -540,6 +540,8 @@ def p60_dock_config_table_handler(pw: PrintWrapper, custom_data: bytes): init_out_safe = unpack_array_in_data(custom_data, 0xB7, 1, 13, "B") init_on_dly = unpack_array_in_data(custom_data, 0xC4, 2, 13, "H") init_off_dly = unpack_array_in_data(custom_data, 0xDE, 2, 13, "H") + acu_channel_addrs = unpack_array_in_data(custom_data, 0x180, 1, 2, "B") + pdu_channel_addrs = unpack_array_in_data(custom_data, 0x186, 1, 4, "B") pw.dlog(f"Ch Names: {ch_names}") pw.dlog(f"{'out_on_cnt'.ljust(15)}: {out_on_cnt}") pw.dlog(f"{'out_off_cnt'.ljust(15)}: {out_off_cnt}") @@ -547,6 +549,8 @@ def p60_dock_config_table_handler(pw: PrintWrapper, custom_data: bytes): pw.dlog(f"{'init_out_safe'.ljust(15)}: {init_out_safe}") pw.dlog(f"{'init_on_dly'.ljust(15)}: {init_on_dly}") pw.dlog(f"{'init_off_dly'.ljust(15)}: {init_off_dly}") + pw.dlog(f"{'p60acu_addr'.ljust(15)}: {acu_channel_addrs}") + pw.dlog(f"{'p60pdu_addr'.ljust(15)}: {pdu_channel_addrs}") def parse_name_list(data: bytes, name_len: int):