add named pdu1/pdu2 cmds

This commit is contained in:
2022-08-11 14:45:24 +02:00
parent 811a553ebe
commit 7399a8fa97
7 changed files with 337 additions and 216 deletions

View File

@ -46,9 +46,9 @@ def handle_hk_packet(
named_obj_id = tm_packet.object_id
if tm_packet.subservice == 25 or tm_packet.subservice == 26:
hk_data = tm_packet.tm_data[8:]
tcp_server_sensor_temperatures.report_raw_hk_data(
object_id=named_obj_id, set_id=tm_packet.set_id, hk_data=hk_data
)
# tcp_server_sensor_temperatures.report_raw_hk_data(
# object_id=named_obj_id, set_id=tm_packet.set_id, hk_data=hk_data
# )
printer.generic_hk_tm_print(
content_type=HkContentType.HK,
object_id=named_obj_id,