This commit is contained in:
parent
5e3b60b3af
commit
c6b2edf688
@ -147,11 +147,7 @@ class OpCode:
|
||||
RESET_MPSOC = "reset_mpsoc"
|
||||
SET_GPIO = "set_gpio"
|
||||
READ_GPIO = "read_gpio"
|
||||
READ_STATUS_REPORT = "read_hk_set"
|
||||
READ_BOOT_STATUS_REPORT = "boot_report"
|
||||
READ_LATCHUP_STATUS_REPORT = "read_latchup_status_report"
|
||||
READ_ADC_STATUS_REPORT = "read_adc_status_report"
|
||||
READ_COUNTERS_REPORT = "read_counters_report"
|
||||
READ_STATUS_REPORT = "read_status_report"
|
||||
|
||||
|
||||
class Info(str, enum.Enum):
|
||||
@ -171,10 +167,6 @@ class Info(str, enum.Enum):
|
||||
SET_GPIO = "Set GPIO"
|
||||
READ_GPIO = "Read GPIO"
|
||||
READ_STATUS_REPORT = "Read HK status report"
|
||||
READ_LATCHUP_STATUS_REPORT = "Read Latchup status report"
|
||||
READ_BOOT_STATUS_REPORT = "Read boot status report"
|
||||
READ_ADC_STATUS_REPORT = "Read ADC status report"
|
||||
READ_COUNTERS_REPORT = "Read Data Logger counters report"
|
||||
|
||||
|
||||
@tmtc_definitions_provider
|
||||
@ -193,7 +185,7 @@ def add_ploc_supv_cmds(defs: TmtcDefinitionWrapper):
|
||||
oce.add(OpCode.RESET_MPSOC, Info.RESET_MPSOC)
|
||||
oce.add("8", "PLOC Supervisor: Set max restart tries")
|
||||
oce.add("11", "PLOC Supervisor: Set boot timeout")
|
||||
oce.add(OpCode.READ_BOOT_STATUS_REPORT, Info.READ_BOOT_STATUS_REPORT)
|
||||
oce.add(OpCode.READ_STATUS_REPORT, Info.READ_STATUS_REPORT)
|
||||
oce.add("23", "PLOC Supervisor: Set ADC enabled channels")
|
||||
oce.add("24", "PLOC Supervisor: Set ADC window and stride")
|
||||
oce.add("25", "PLOC Supervisor: Set ADC threshold")
|
||||
@ -216,11 +208,6 @@ def add_ploc_supv_cmds(defs: TmtcDefinitionWrapper):
|
||||
oce.add("58", "PLOC Supervisor: Continue update")
|
||||
oce.add(OpCode.MEM_CHECK, Info.MEM_CHECK)
|
||||
|
||||
oce.add(OpCode.READ_STATUS_REPORT, Info.READ_STATUS_REPORT)
|
||||
oce.add(OpCode.READ_ADC_STATUS_REPORT, Info.READ_ADC_STATUS_REPORT)
|
||||
oce.add(OpCode.READ_LATCHUP_STATUS_REPORT, Info.READ_LATCHUP_STATUS_REPORT)
|
||||
oce.add(OpCode.READ_BOOT_STATUS_REPORT, Info.READ_BOOT_STATUS_REPORT)
|
||||
oce.add(OpCode.READ_COUNTERS_REPORT, Info.READ_COUNTERS_REPORT)
|
||||
defs.add_service(CustomServiceList.PLOC_SUPV.value, "PLOC Supervisor", oce)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user