Power Command Updates #110

Merged
meierj merged 10 commits from mueller/power-cmds-update into main 2022-08-28 10:25:53 +02:00
Showing only changes of commit 0f9aed4ee2 - Show all commits

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,