new command to request config table

This commit is contained in:
Robin Müller 2022-08-26 23:39:39 +02:00
parent e4e7308962
commit 0f9aed4ee2
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -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,