api update done
This commit is contained in:
@ -5,17 +5,13 @@
|
||||
@author J. Meier
|
||||
@date 13.12.2020
|
||||
"""
|
||||
|
||||
from tmtccmd.config.definitions import QueueCommands
|
||||
from tmtccmd.tc.definitions import TcQueueT
|
||||
|
||||
from tmtccmd.tc import QueueHelper
|
||||
from tmtccmd.tc.pus_3_fsfw_hk import make_sid, generate_one_hk_command
|
||||
from spacepackets.ecss.tc import PusTelecommand
|
||||
from tmtccmd.tc.pus_200_fsfw_modes import pack_mode_data, Modes
|
||||
import struct
|
||||
|
||||
from tmtccmd.utility import ObjectId
|
||||
from tmtccmd.utility import ObjectIdU32
|
||||
|
||||
|
||||
class SetIds:
|
||||
@ -41,9 +37,7 @@ class CommandIds:
|
||||
DISABLE_DEBUG = 21
|
||||
|
||||
|
||||
def pack_syrlinks_command(
|
||||
object_id: ObjectId, q: QueueHelper, op_code: str
|
||||
) -> TcQueueT:
|
||||
def pack_syrlinks_command(object_id: ObjectIdU32, q: QueueHelper, op_code: str):
|
||||
obyt = object_id.as_bytes
|
||||
q.add_log_cmd(f"Testing Syrlinks with object id: {object_id.as_hex_string}")
|
||||
if op_code == "0":
|
||||
|
Reference in New Issue
Block a user