diff --git a/gomspace/gomspace_common.py b/gomspace/gomspace_common.py index e760849..4483c62 100644 --- a/gomspace/gomspace_common.py +++ b/gomspace/gomspace_common.py @@ -23,6 +23,7 @@ class GomspaceDeviceActionIds(enum.IntEnum): PARAM_SET = 255 WDT_RESET = 9 REQUEST_HK_TABLE = 16 + REQUEST_CONFIG_TABLE = 17, PRINT_SWITCH_V_I = 32 PRINT_LATCHUPS = 33 @@ -77,6 +78,15 @@ class Channel: off = 0 +def pack_request_config_command( + object_id: bytes +) -> PusTelecommand: + return make_fsfw_action_cmd( + object_id=object_id, + action_id=GomspaceDeviceActionIds.REQUEST_CONFIG_TABLE + ) + + def pack_get_param_command( object_id: bytes, table_id: int,