From c6b2edf688694b5232596576dc5a1b105d4f7fa6 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Wed, 31 Jan 2024 15:58:43 +0100 Subject: [PATCH] removed old commands --- eive_tmtc/tmtc/payload/ploc_supervisor.py | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/eive_tmtc/tmtc/payload/ploc_supervisor.py b/eive_tmtc/tmtc/payload/ploc_supervisor.py index 3227006..c360566 100644 --- a/eive_tmtc/tmtc/payload/ploc_supervisor.py +++ b/eive_tmtc/tmtc/payload/ploc_supervisor.py @@ -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)