removed obsolete function
This commit is contained in:
parent
929a7deb11
commit
b2ed55ec18
@ -15,10 +15,6 @@ from common_tmtc.config.definitions import PUS_APID
|
|||||||
|
|
||||||
class FsfwHookBase(TmTcHookBase):
|
class FsfwHookBase(TmTcHookBase):
|
||||||
|
|
||||||
def get_version(self) -> str:
|
|
||||||
from common_tmtc.config.version import SW_NAME, SW_VERSION, SW_SUBVERSION, SW_SUBSUBVERSION
|
|
||||||
return f"{SW_NAME} {SW_VERSION}.{SW_SUBVERSION}.{SW_SUBSUBVERSION}"
|
|
||||||
|
|
||||||
def get_json_config_file_path(self) -> str:
|
def get_json_config_file_path(self) -> str:
|
||||||
return "config/tmtc_config.json"
|
return "config/tmtc_config.json"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SW_NAME = "fsfw-tmtc"
|
SW_NAME = "fsfw-tmtc"
|
||||||
SW_VERSION = 1
|
SW_VERSION = 1
|
||||||
SW_SUBVERSION = 3
|
SW_SUBVERSION = 4
|
||||||
SW_SUBSUBVERSION = 0
|
SW_SUBSUBVERSION = 0
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
"""
|
"""This file transfers control of housekeeping handling (PUS service 3) to the developer
|
||||||
@brief This file transfers control of housekeeping handling (PUS service 3) to the
|
|
||||||
developer
|
|
||||||
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
|
|
||||||
it to your needs.
|
|
||||||
"""
|
"""
|
||||||
import struct
|
import struct
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
@ -16,8 +12,7 @@ LOGGER = get_console_logger()
|
|||||||
def service_3_hk_handling(
|
def service_3_hk_handling(
|
||||||
object_id: bytes, set_id: int, hk_data: bytearray, service3_packet: Service3Base
|
object_id: bytes, set_id: int, hk_data: bytearray, service3_packet: Service3Base
|
||||||
) -> Tuple[list, list, bytearray, int]:
|
) -> Tuple[list, list, bytearray, int]:
|
||||||
"""
|
"""This function is called when a Service 3 Housekeeping packet is received.
|
||||||
This function is called when a Service 3 Housekeeping packet is received.
|
|
||||||
|
|
||||||
Please note that the object IDs should be compared by value because direct comparison of
|
Please note that the object IDs should be compared by value because direct comparison of
|
||||||
enumerations does not work in Python. For example use:
|
enumerations does not work in Python. For example use:
|
||||||
|
Loading…
Reference in New Issue
Block a user