This commit is contained in:
parent
265077a758
commit
d811735b8d
@ -33,6 +33,15 @@ from eive_tmtc.config.object_ids import STR_ASSEMBLY, STAR_TRACKER_ID
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FirmwareTarget(enum.IntEnum):
|
||||
MAIN = 1
|
||||
BACKUP = 10
|
||||
|
||||
|
||||
class ParamId(enum.IntEnum):
|
||||
FIRMWARE_TARGET = 1
|
||||
|
||||
|
||||
class StarTrackerActionId(enum.IntEnum):
|
||||
PING = 0
|
||||
BOOT = 1
|
||||
@ -126,6 +135,8 @@ class OpCode:
|
||||
SET_TIME_FROM_SYS_TIME = "set_time"
|
||||
RELOAD_JSON_CFG_FILE = "reload_json_cfg"
|
||||
FW_UPDATE_BACKUP = "fw_update_backup"
|
||||
SELECT_TARGET_FIRMWARE_MAIN = "select_fw_target_main"
|
||||
SELECT_TARGET_FIRMWARE_BACKUP = "select_fw_target_backup"
|
||||
|
||||
|
||||
class Info:
|
||||
@ -143,6 +154,8 @@ class Info:
|
||||
FW_UPDATE_BACKUP = "Update Backup Firmware Slot"
|
||||
SET_TIME_FROM_SYS_TIME = "Set time from system time"
|
||||
RELOAD_JSON_CFG_FILE = "Reload JSON configuration file. Reboot still required."
|
||||
SELECT_TARGET_FIRMWARE_MAIN = "Select main slot firmware"
|
||||
SELECT_TARGET_FIRMWARE_BACKUP = "Select backup slot firmware"
|
||||
|
||||
|
||||
class SetId(enum.IntEnum):
|
||||
|
Loading…
x
Reference in New Issue
Block a user