diff --git a/config/hook_implementation.py b/config/hook_implementation.py index 0243b35..e3b8434 100644 --- a/config/hook_implementation.py +++ b/config/hook_implementation.py @@ -19,9 +19,14 @@ class FsfwHookBase(TmTcHookBase): return "config/tmtc_config.json" def get_service_op_code_dictionary(self) -> ServiceOpCodeDictT: - from tmtccmd.config.globals import get_default_service_op_code_dict + from tmtccmd.config.globals import get_default_service_op_code_dict, add_service_op_code_entry, add_op_code_entry def_dict = get_default_service_op_code_dict() + op_code = dict() + add_op_code_entry(op_code_dict=op_code, keys="test", info="Mode CMD Test") + add_service_op_code_entry( + srv_op_code_dict=def_dict, name="200", info="Mode MGMT", op_code_entry=op_code + ) return def_dict def add_globals_pre_args_parsing(self, gui: bool = False):