From 0f9aed4ee26c0a882ceb54c3366e1e64206a0645 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 26 Aug 2022 23:39:39 +0200 Subject: [PATCH] new command to request config table --- gomspace/gomspace_common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) 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,