2022-04-09 18:44:04 +02:00
|
|
|
from typing import Union
|
2021-03-19 17:39:52 +01:00
|
|
|
|
2022-02-03 16:02:55 +01:00
|
|
|
from tmtccmd.config.definitions import (
|
|
|
|
ServiceOpCodeDictT,
|
|
|
|
)
|
2021-07-24 14:58:47 +02:00
|
|
|
from tmtccmd.tc.definitions import TcQueueT
|
2022-03-04 14:27:19 +01:00
|
|
|
from tmtccmd.utility.retval import RetvalDictT
|
|
|
|
from tmtccmd.pus.obj_id import ObjectIdDictT
|
2021-03-23 13:44:33 +01:00
|
|
|
from tmtccmd.com_if.com_interface_base import CommunicationInterface
|
|
|
|
from tmtccmd.core.backend import TmTcHandler
|
2021-05-17 17:42:04 +02:00
|
|
|
from tmtccmd.config.hook import TmTcHookBase
|
2022-02-03 16:02:55 +01:00
|
|
|
from tmtccmd.config.globals import OpCodeDictKeys
|
2021-05-17 17:59:24 +02:00
|
|
|
|
|
|
|
from config.definitions import CustomServiceList
|
2022-03-04 14:27:19 +01:00
|
|
|
from config.retvals import get_retval_dict
|
2021-03-19 17:39:52 +01:00
|
|
|
|
|
|
|
|
2021-03-19 17:42:36 +01:00
|
|
|
class EiveHookObject(TmTcHookBase):
|
2022-04-06 11:43:17 +02:00
|
|
|
def __init__(self, json_cfg_path: str):
|
|
|
|
super().__init__(json_cfg_path=json_cfg_path)
|
|
|
|
|
2021-05-17 17:42:04 +02:00
|
|
|
def get_service_op_code_dictionary(self) -> ServiceOpCodeDictT:
|
|
|
|
from tmtccmd.config.globals import get_default_service_op_code_dict
|
2022-04-06 16:17:51 +02:00
|
|
|
|
2021-05-17 17:59:24 +02:00
|
|
|
service_op_code_dict = get_default_service_op_code_dict()
|
2021-09-07 13:28:36 +02:00
|
|
|
get_eive_service_op_code_dict(service_op_code_dict=service_op_code_dict)
|
2021-05-17 17:59:24 +02:00
|
|
|
return service_op_code_dict
|
2021-05-17 17:42:04 +02:00
|
|
|
|
2022-01-18 14:03:56 +01:00
|
|
|
def assign_communication_interface(
|
2022-04-04 22:32:15 +02:00
|
|
|
self, com_if_key: str
|
2022-01-18 14:03:56 +01:00
|
|
|
) -> Union[CommunicationInterface, None]:
|
2021-05-17 17:42:04 +02:00
|
|
|
from tmtccmd.config.com_if import create_communication_interface_default
|
2022-01-18 14:03:56 +01:00
|
|
|
|
2021-05-17 17:42:04 +02:00
|
|
|
return create_communication_interface_default(
|
2022-01-18 14:03:56 +01:00
|
|
|
com_if_key=com_if_key,
|
2022-04-06 11:43:17 +02:00
|
|
|
json_cfg_path=self.json_cfg_path,
|
2022-01-18 14:03:56 +01:00
|
|
|
space_packet_ids=(0x0865,),
|
2021-05-17 17:42:04 +02:00
|
|
|
)
|
2021-03-19 17:39:52 +01:00
|
|
|
|
|
|
|
def perform_mode_operation(self, tmtc_backend: TmTcHandler, mode: int):
|
|
|
|
from config.custom_mode_op import custom_mode_operation
|
2022-01-18 14:03:56 +01:00
|
|
|
|
2021-03-19 17:39:52 +01:00
|
|
|
custom_mode_operation(mode=mode, tmtc_backend=tmtc_backend)
|
|
|
|
|
|
|
|
def pack_service_queue(self, service: int, op_code: str, service_queue: TcQueueT):
|
|
|
|
from pus_tc.tc_packer_hook import pack_service_queue_user
|
2022-01-18 14:03:56 +01:00
|
|
|
|
|
|
|
pack_service_queue_user(
|
|
|
|
service=service, op_code=op_code, service_queue=service_queue
|
|
|
|
)
|
2021-03-19 17:39:52 +01:00
|
|
|
|
2022-03-04 14:27:19 +01:00
|
|
|
def get_object_ids(self) -> ObjectIdDictT:
|
2021-05-17 17:42:04 +02:00
|
|
|
from config.object_ids import get_object_ids
|
2022-03-04 14:44:13 +01:00
|
|
|
|
2021-05-17 17:42:04 +02:00
|
|
|
return get_object_ids()
|
2021-03-19 17:39:52 +01:00
|
|
|
|
2022-03-04 14:27:19 +01:00
|
|
|
def get_retval_dict(self) -> RetvalDictT:
|
|
|
|
return get_retval_dict()
|
|
|
|
|
2021-09-07 13:28:36 +02:00
|
|
|
|
|
|
|
def get_eive_service_op_code_dict(service_op_code_dict: ServiceOpCodeDictT):
|
2022-03-04 10:41:05 +01:00
|
|
|
from pus_tc.cmd_definitions import (
|
2022-02-03 16:02:55 +01:00
|
|
|
add_bpx_cmd_definitions,
|
|
|
|
add_core_controller_definitions,
|
|
|
|
add_pcdu_cmds,
|
2022-03-01 18:12:31 +01:00
|
|
|
add_pl_pcdu_cmds,
|
2022-03-02 11:44:39 +01:00
|
|
|
add_imtq_cmds,
|
|
|
|
add_rw_cmds,
|
|
|
|
add_rad_sens_cmds,
|
2022-03-17 19:42:27 +01:00
|
|
|
add_ploc_mpsoc_cmds,
|
|
|
|
add_ploc_supv_cmds,
|
2022-03-07 11:26:44 +01:00
|
|
|
add_system_cmds,
|
2022-04-09 18:44:04 +02:00
|
|
|
add_time_cmds,
|
2022-02-03 16:02:55 +01:00
|
|
|
)
|
2022-03-04 10:41:05 +01:00
|
|
|
from pus_tc.devs.gps import GpsOpCodes
|
2022-01-18 14:03:56 +01:00
|
|
|
|
2022-02-03 16:02:55 +01:00
|
|
|
add_bpx_cmd_definitions(cmd_dict=service_op_code_dict)
|
|
|
|
add_core_controller_definitions(cmd_dict=service_op_code_dict)
|
2022-02-25 19:25:14 +01:00
|
|
|
add_pl_pcdu_cmds(cmd_dict=service_op_code_dict)
|
2022-03-02 11:44:39 +01:00
|
|
|
add_pcdu_cmds(cmd_dict=service_op_code_dict)
|
|
|
|
add_imtq_cmds(cmd_dict=service_op_code_dict)
|
|
|
|
add_rad_sens_cmds(cmd_dict=service_op_code_dict)
|
|
|
|
add_rw_cmds(cmd_dict=service_op_code_dict)
|
2022-03-17 19:42:27 +01:00
|
|
|
add_ploc_mpsoc_cmds(cmd_dict=service_op_code_dict)
|
|
|
|
add_ploc_supv_cmds(cmd_dict=service_op_code_dict)
|
2022-03-07 11:07:54 +01:00
|
|
|
add_system_cmds(cmd_dict=service_op_code_dict)
|
2022-04-09 18:44:04 +02:00
|
|
|
add_time_cmds(cmd_dict=service_op_code_dict)
|
2021-09-07 13:28:36 +02:00
|
|
|
|
2021-09-08 14:47:33 +02:00
|
|
|
op_code_dict = {
|
2022-01-18 14:03:56 +01:00
|
|
|
GpsOpCodes.RESET_GNSS.value: ("Reset GPS", {OpCodeDictKeys.TIMEOUT: 2.0})
|
2021-09-08 14:47:33 +02:00
|
|
|
}
|
2022-01-18 14:03:56 +01:00
|
|
|
service_tuple = ("GPS 0", op_code_dict)
|
2021-09-08 14:47:33 +02:00
|
|
|
service_op_code_dict[CustomServiceList.GPS_0.value] = service_tuple
|
|
|
|
service_op_code_dict[CustomServiceList.GPS_1.value] = service_tuple
|
|
|
|
|
2021-09-07 13:28:36 +02:00
|
|
|
op_code_dict = {
|
2021-12-17 15:09:25 +01:00
|
|
|
"0": ("ACU: Tests", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"51": ("ACU: Print channel statistics", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2021-09-07 13:28:36 +02:00
|
|
|
}
|
|
|
|
service_tuple = ("ACU Devices", op_code_dict)
|
|
|
|
service_op_code_dict[CustomServiceList.ACU.value] = service_tuple
|
|
|
|
|
|
|
|
op_code_dict = {
|
|
|
|
"0": ("TMP1075 Tests", {OpCodeDictKeys.TIMEOUT: 2.2}),
|
|
|
|
}
|
|
|
|
service_tuple = ("TMP1075 1", op_code_dict)
|
|
|
|
service_op_code_dict[CustomServiceList.TMP1075_1.value] = service_tuple
|
|
|
|
service_tuple = ("TMP1075 2", op_code_dict)
|
|
|
|
service_op_code_dict[CustomServiceList.TMP1075_2.value] = service_tuple
|
|
|
|
|
|
|
|
op_code_dict_srv_heater = {
|
|
|
|
"0": ("Heater Tests", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
}
|
|
|
|
service_heater_tuple = ("Heater Device", op_code_dict_srv_heater)
|
|
|
|
|
|
|
|
op_code_dict_srv_star_tracker = {
|
2022-02-27 16:17:24 +01:00
|
|
|
"0": (
|
|
|
|
"Star Tracker: Mode On, Submode Bootloader",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"1": ("Star Tracker: Mode On, Submode Firmware", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"2": ("Star Tracker: Mode Normal", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"3": ("Star Tracker: Mode Off", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"4": ("Star Tracker: Mode Raw", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-04-08 09:59:21 +02:00
|
|
|
"5": ("Star Tracker: Ping", {OpCodeDictKeys.TIMEOUT: 5.0}),
|
2022-02-23 18:16:10 +01:00
|
|
|
"6": (
|
2022-01-18 14:03:56 +01:00
|
|
|
"Star Tracker: Switch to bootloader program",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"7": ("Star Tracker: Request temperature", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"8": ("Star Tracker: Request version", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"9": ("Star Tracker: Request interface", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"10": ("Star Tracker: Request power", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-01-18 14:03:56 +01:00
|
|
|
"11": (
|
2022-02-27 16:17:24 +01:00
|
|
|
"Star Tracker: Set subscription parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"12": (
|
2022-01-18 14:03:56 +01:00
|
|
|
"Star Tracker: Boot image (requires bootloader mode)",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"13": ("Star Tracker: Request time", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"14": ("Star Tracker: Request solution", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"15": ("Star Tracker: Upload image", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"16": ("Star Tracker: Download image", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"17": ("Star Tracker: Set limit parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"18": ("Star Tracker: Set tracking parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"19": ("Star Tracker: Set mounting parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"20": ("Star Tracker: Set camera parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"22": (
|
|
|
|
"Star Tracker: Set centroiding parameters",
|
2022-01-18 14:03:56 +01:00
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-27 16:17:24 +01:00
|
|
|
"23": ("Star Tracker: Set LISA parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"24": ("Star Tracker: Set matching parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"25": (
|
|
|
|
"Star Tracker: Set validation parameters",
|
2022-01-27 16:38:20 +01:00
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-27 16:17:24 +01:00
|
|
|
"26": ("Star Tracker: Set algo parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-23 18:16:10 +01:00
|
|
|
"27": ("Star Tracker: Take image", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"28": ("Star Tracker: Stop str helper", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"30": (
|
2022-01-18 14:03:56 +01:00
|
|
|
"Star Tracker: Set name of download image",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"31": ("Star Tracker: Request histogram", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"32": ("Star Tracker: Request contrast", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"33": ("Star Tracker: Set json filename", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"35": ("Star Tracker: Flash read", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"36": ("Star Tracker: Set flash read filename", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-23 18:16:10 +01:00
|
|
|
"37": ("Star Tracker: Get checksum", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"49": ("Star Tracker: Request camera parameter", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"50": ("Star Tracker: Request limits", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-03 16:02:55 +01:00
|
|
|
"51": (
|
|
|
|
"Star Tracker: Set image processor parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-27 16:17:24 +01:00
|
|
|
"52": (
|
|
|
|
"Star Tracker: (EGSE only) Load camera ground config ",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"53": (
|
|
|
|
"Star Tracker: (EGSE only) Load camera flight config",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"54": (
|
|
|
|
"Star Tracker: Request log level parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"55": (
|
|
|
|
"Star Tracker: Request mounting parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"56": (
|
|
|
|
"Star Tracker: Request image processor parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"57": (
|
|
|
|
"Star Tracker: Request centroiding parameters",
|
2022-01-18 14:03:56 +01:00
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"58": ("Star Tracker: Request lisa parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"59": (
|
|
|
|
"Star Tracker: Request matching parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"60": (
|
|
|
|
"Star Tracker: Request tracking parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"61": (
|
|
|
|
"Star Tracker: Request validation parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"62": ("Star Tracker: Request algo parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"63": (
|
|
|
|
"Star Tracker: Request subscription parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"64": (
|
|
|
|
"Star Tracker: Request log subscription parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"65": (
|
|
|
|
"Star Tracker: Request debug camera parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"66": ("Star Tracker: Set log level parameters", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-27 16:17:24 +01:00
|
|
|
"67": (
|
|
|
|
"Star Tracker: Set log subscription parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"68": (
|
|
|
|
"Star Tracker: Set debug camera parameters",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-02-23 18:16:10 +01:00
|
|
|
"69": ("Star Tracker: Firmware update", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-03-01 18:12:31 +01:00
|
|
|
"70": (
|
|
|
|
"Star Tracker: Disable timestamp generation",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"71": (
|
|
|
|
"Star Tracker: Enable timestamp generation",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2021-09-07 13:28:36 +02:00
|
|
|
}
|
|
|
|
service_star_tracker_tuple = ("Star tracker", op_code_dict_srv_star_tracker)
|
|
|
|
|
2021-11-24 15:56:25 +01:00
|
|
|
op_code_dict_srv_ccsds_handler = {
|
|
|
|
"0": ("CCSDS Handler: Set low rate", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"1": ("CCSDS Handler: Set high rate", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"2": ("CCSDS Handler: Enable transmitter", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"3": ("CCSDS Handler: Disable transmitter", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-01-25 18:23:02 +01:00
|
|
|
"4": ("CCSDS Handler: Set arbitrary bitrate", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2022-02-03 16:02:55 +01:00
|
|
|
"5": (
|
|
|
|
"CCSDS Handler: Enable tx clock manipulator",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"6": (
|
|
|
|
"CCSDS Handler: Disable tx clock manipulator",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"7": (
|
|
|
|
"CCSDS Handler: Update tx data on rising edge",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"8": (
|
|
|
|
"CCSDS Handler: Update tx data on falling edge",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2021-11-24 15:56:25 +01:00
|
|
|
}
|
|
|
|
service_ccsds_handler_tuple = ("CCSDS Handler", op_code_dict_srv_ccsds_handler)
|
|
|
|
|
|
|
|
op_code_dict_srv_pdec_handler = {
|
|
|
|
"0": ("PDEC Handler: Print CLCW", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2021-12-02 12:07:16 +01:00
|
|
|
"1": ("PDEC Handler: Print PDEC monitor", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
2021-11-24 15:56:25 +01:00
|
|
|
}
|
|
|
|
service_pdec_handler_tuple = ("PDEC Handler", op_code_dict_srv_pdec_handler)
|
|
|
|
|
2021-12-02 09:25:31 +01:00
|
|
|
op_code_dict_srv_syrlinks_handler = {
|
2022-03-29 07:57:39 +02:00
|
|
|
"0": ("Syrlinks Handler: Set mode off", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"1": ("Syrlinks Handler: Set mode on", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"2": ("Syrlinks Handler: Set mode normal", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"3": ("Syrlinks Handler: Set TX standby", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"4": ("Syrlinks Handler: Set TX modulation", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"5": ("Syrlinks Handler: Set TX carrier wave", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"6": ("Syrlinks Handler: Read TX status", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"7": ("Syrlinks Handler: Read TX waveform", {OpCodeDictKeys.TIMEOUT: 2.0}),
|
|
|
|
"8": (
|
2022-01-18 14:03:56 +01:00
|
|
|
"Syrlinks Handler: Read TX AGC value high byte ",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-03-29 07:57:39 +02:00
|
|
|
"9": (
|
2022-01-18 14:03:56 +01:00
|
|
|
"Syrlinks Handler: Read TX AGC value low byte ",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-03-31 11:36:50 +02:00
|
|
|
"12": (
|
|
|
|
"Syrlinks Handler: Write LCL config",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"13": (
|
|
|
|
"Syrlinks Handler: Read RX status registers",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"14": (
|
|
|
|
"Syrlinks Handler: Read LCL config register",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2022-04-04 15:05:38 +02:00
|
|
|
"15": (
|
|
|
|
"Syrlinks Handler: Set waveform OQPSK",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"16": (
|
|
|
|
"Syrlinks Handler: Set waveform BPSK",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"17": (
|
|
|
|
"Syrlinks Handler: Set second config",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"18": (
|
|
|
|
"Syrlinks Handler: Enable debug output",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
|
|
|
"19": (
|
|
|
|
"Syrlinks Handler: Disable debug output",
|
|
|
|
{OpCodeDictKeys.TIMEOUT: 2.0},
|
|
|
|
),
|
2021-12-02 09:25:31 +01:00
|
|
|
}
|
2022-01-18 14:03:56 +01:00
|
|
|
service_syrlinks_handler_tuple = (
|
|
|
|
"Syrlinks Handler",
|
|
|
|
op_code_dict_srv_syrlinks_handler,
|
|
|
|
)
|
2021-09-07 13:28:36 +02:00
|
|
|
service_op_code_dict[CustomServiceList.HEATER.value] = service_heater_tuple
|
2022-01-18 14:03:56 +01:00
|
|
|
service_op_code_dict[
|
|
|
|
CustomServiceList.STAR_TRACKER.value
|
|
|
|
] = service_star_tracker_tuple
|
|
|
|
service_op_code_dict[
|
|
|
|
CustomServiceList.CCSDS_HANDLER.value
|
|
|
|
] = service_ccsds_handler_tuple
|
|
|
|
service_op_code_dict[
|
|
|
|
CustomServiceList.PDEC_HANDLER.value
|
|
|
|
] = service_pdec_handler_tuple
|
|
|
|
service_op_code_dict[
|
|
|
|
CustomServiceList.SYRLINKS.value
|
|
|
|
] = service_syrlinks_handler_tuple
|