this should fix srv3 issues

This commit is contained in:
Robin Müller 2021-06-12 13:48:31 +02:00
parent 7a4d6ee13a
commit fc87e36c2e
No known key found for this signature in database
GPG Key ID: BE6480244DFE612C
4 changed files with 10 additions and 5 deletions

4
.gitignore vendored
View File

@ -5,3 +5,7 @@ log
!.idea/runConfigurations
*.json
/Lib
/Scripts
/pyvenv.cfg

View File

@ -113,7 +113,7 @@ class EiveHookObject(TmTcHookBase):
@staticmethod
def handle_service_3_housekeeping(
object_id: int, 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]:
from pus_tm.hk_handling import handle_user_hk_packet
return handle_user_hk_packet(

View File

@ -12,8 +12,9 @@ from tmtccmd.utility.logger import get_logger
LOGGER = get_logger()
def handle_user_hk_packet(object_id: int, set_id: int, hk_data: bytearray,
service3_packet: Service3Base) -> Tuple[list, list, bytearray, int]:
def handle_user_hk_packet(
object_id: bytes, set_id: int, hk_data: bytearray, service3_packet: Service3Base
) -> Tuple[list, list, bytearray, int]:
"""
This function is called when a Service 3 Housekeeping packet is received.

@ -1 +1 @@
Subproject commit 3f39a1ffa17e8c74cadc789b3f4714c4bbd5f75f
Subproject commit 39697eda495d1b7f3d39e6c0bb9079856e93d006