adc report

This commit is contained in:
Jakob Meier
2022-04-21 16:30:42 +02:00
parent 45470f8c05
commit 1dd7fddef4
2 changed files with 7 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class SupvActionIds:
LOGGING_REQUEST_EVENT_BUFFERS = 54
LOGGING_CLEAR_COUNTERS = 55
LOGGING_SET_TOPIC = 56
REQUEST_ADC_REPORT = 57
class SupvHkIds:
@ -459,6 +459,11 @@ def pack_ploc_supv_commands(
command = object_id + struct.pack('!I', SupvActionIds.LOGGING_REQUEST_COUNTERS)
command = PusTelecommand(service=8, subservice=128, ssc=69, app_data=command)
tc_queue.appendleft(command.pack_command_tuple())
elif op_code == "55":
tc_queue.appendleft((QueueCommands.PRINT, "PLOC Supervisor: Request ADC report"))
command = object_id + struct.pack('!I', SupvActionIds.REQUEST_ADC_REPORT)
command = PusTelecommand(service=8, subservice=128, ssc=70, app_data=command)
tc_queue.appendleft(command.pack_command_tuple())
return tc_queue