2022-07-28 15:37:19 +02:00
|
|
|
from common_tmtc.pus_tc.service_20_parameters import add_param_cmds
|
2022-07-28 15:44:57 +02:00
|
|
|
from common_tmtc.pus_tc.service_3_housekeeping import add_hk_cmds
|
2022-08-17 17:23:02 +02:00
|
|
|
from tmtccmd.config import TmtcDefinitionWrapper
|
2022-07-03 20:58:32 +02:00
|
|
|
from common_tmtc.pus_tc.pus_11_tc_sched import add_tc_sched_cmds
|
|
|
|
from tmtccmd.config.globals import get_default_tmtc_defs
|
|
|
|
from tmtccmd.config.tmtc import OpCodeEntry
|
2022-05-18 23:40:13 +02:00
|
|
|
|
|
|
|
|
2022-08-17 17:23:02 +02:00
|
|
|
def common_fsfw_service_op_code_dict() -> TmtcDefinitionWrapper:
|
2022-07-03 20:58:32 +02:00
|
|
|
def_wrapper = get_default_tmtc_defs()
|
|
|
|
op_code_entry = OpCodeEntry()
|
|
|
|
op_code_entry.add(keys="test", info="Mode CMD Test")
|
|
|
|
op_code_entry.add(
|
|
|
|
keys=["0", "asm_to_normal"], info="Command test assembly to normal mode"
|
2022-05-18 23:40:13 +02:00
|
|
|
)
|
2022-07-03 20:58:32 +02:00
|
|
|
def_wrapper.add_service(
|
|
|
|
"200", info="PUS Service 200 Mode MGMT", op_code_entry=op_code_entry
|
2022-05-20 11:08:46 +02:00
|
|
|
)
|
|
|
|
|
2022-07-03 20:58:32 +02:00
|
|
|
add_tc_sched_cmds(def_wrapper)
|
2022-07-28 15:37:19 +02:00
|
|
|
add_param_cmds(def_wrapper)
|
2022-07-28 15:44:57 +02:00
|
|
|
add_hk_cmds(def_wrapper)
|
2022-05-24 14:27:29 +02:00
|
|
|
|
2022-07-03 20:58:32 +02:00
|
|
|
return def_wrapper
|