move tcp server into own class and reverted hk handling back to functions from class
This commit is contained in:
@ -19,7 +19,7 @@ from config.object_ids import get_object_ids
|
||||
|
||||
from .event_handler import handle_event_packet
|
||||
from .verification_handler import handle_service_1_packet
|
||||
from .hk_handler import HkHandler
|
||||
from .hk_handling import handle_hk_packet
|
||||
from .action_reply_handler import handle_action_reply
|
||||
|
||||
LOGGER = get_console_logger()
|
||||
@ -48,7 +48,7 @@ def pus_factory_hook(raw_tm_packet: bytes):
|
||||
if service_type == 1:
|
||||
handle_service_1_packet(printer=FSFW_PRINTER, raw_tm=raw_tm_packet)
|
||||
elif service_type == 3:
|
||||
HkHandler.getInstance().handle_hk_packet(
|
||||
handle_hk_packet(
|
||||
printer=FSFW_PRINTER, raw_tm=raw_tm_packet, obj_id_dict=obj_id_dict
|
||||
)
|
||||
elif service_type == 5:
|
||||
|
Reference in New Issue
Block a user