update subsystemIDs

This commit is contained in:
Robin Müller 2023-02-06 20:13:15 +01:00
parent 66867ad9d2
commit 457ccf1ca0
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
4 changed files with 25 additions and 12 deletions

View File

@ -10,6 +10,10 @@ list yields a list of all related PRs for each release.
# [unreleased] # [unreleased]
## Changed
- Updated the subsystem IDs to avoid value clashes with regular device handle mode IDs.
# [v2.11.0] 2023-02-06 # [v2.11.0] 2023-02-06
## Fixed ## Fixed

View File

@ -29,13 +29,13 @@ class OpCode(str, enum.Enum):
class AcsMode(enum.IntEnum): class AcsMode(enum.IntEnum):
OFF = 0 OFF = 0
SAFE = 2 SAFE = 10
DETUMBLE = 3 DETUMBLE = 11
IDLE = 4 IDLE = 12
PTG_TARGET_NADIR = 5 PTG_TARGET_NADIR = 13
PTG_TARGET = 6 PTG_TARGET = 14
PTG_TARGET_GS = 7 PTG_TARGET_GS = 15
PTG_TARGET_INERTIAL = 8 PTG_TARGET_INERTIAL = 16
class Info(str, enum.Enum): class Info(str, enum.Enum):

View File

@ -22,11 +22,11 @@ class ParameterId(enum.IntEnum):
class Submode(enum.IntEnum): class Submode(enum.IntEnum):
RX_ONLY = 0 RX_ONLY = 10
RX_AND_TX_DEF_DATARATE = 1 RX_AND_TX_DEF_DATARATE = 11
RX_AND_TX_LOW_DATARATE = 2 RX_AND_TX_LOW_DATARATE = 12
RX_AND_TX_HIGH_DATARATE = 3 RX_AND_TX_HIGH_DATARATE = 13
RX_AND_TX_CARRIER_WAVE = 4 RX_AND_TX_CARRIER_WAVE = 14
class OpCode: class OpCode:

View File

@ -12,6 +12,15 @@ from tmtccmd.tc.decorator import ServiceProviderParams
from tmtccmd.tc.pus_200_fsfw_mode import Subservice as ModeSubservice from tmtccmd.tc.pus_200_fsfw_mode import Subservice as ModeSubservice
class ModeId:
OFF = 0
SUPV_ONLY = 10
MPSOC_STREAM = 11
CAM_STREAM = 12
EARTH_OBSV = 13
SCEX = 14
class OpCode(str, enum.Enum): class OpCode(str, enum.Enum):
OFF = "off" OFF = "off"
REPORT_ALL_MODES = "report_modes" REPORT_ALL_MODES = "report_modes"