Skip to content

Commit

Permalink
srv 200 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Mueller authored and Robin Mueller committed Feb 25, 2022
1 parent 0a713b8 commit f7bbf4b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/tmtccmd/tc/service_200_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@


class Modes(enum.IntEnum):
OFF = (0,)
ON = (1,)
NORMAL = (2,)
OFF = 0
ON = 1
NORMAL = 2
RAW = 3


class Subservices(enum.IntEnum):
SWITCH_MODE = 1


def pack_mode_data(object_id: bytearray, mode: Modes, submode: int) -> bytearray:
"""Mode 0: Off, Mode 1: Mode On, Mode 2: Mode Normal, Mode 3: Mode Raw"""
# Normal mode
Expand Down

0 comments on commit f7bbf4b

Please sign in to comment.