updated tmtccmd

This commit is contained in:
2021-05-17 17:42:04 +02:00
parent a82e6b2e64
commit acb48916cf
27 changed files with 95 additions and 147 deletions

View File

@ -1,9 +1,9 @@
from typing import Tuple
from config.object_ids import ObjIdIds
from config.object_ids import PDU_2_HANDLER_ID
def user_analyze_service_8_data(
object_id: int, action_id: int, custom_data: bytearray) -> Tuple[list, list]:
object_id: bytes, action_id: int, custom_data: bytearray) -> Tuple[list, list]:
"""
This function is called by the TMTC core if a Service 8 data reply (subservice 130)
is received. The user can return a tuple of two lists, where the first list
@ -15,7 +15,7 @@ def user_analyze_service_8_data(
@param custom_data:
@return:
"""
if object_id == ObjIdIds.PDU2_HANDLER_ID.value:
if object_id == PDU_2_HANDLER_ID:
header_list = ['PDU2 Service 8 Reply']
data_string = str()