Skip to content

Commit

Permalink
removed obsolete function
Browse files Browse the repository at this point in the history
  • Loading branch information
robamu committed May 5, 2024
1 parent 9aec29a commit 98970df
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions tmtccmd/fsfw/tmtc_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from spacepackets.util import get_printable_data_string, PrintFormats

from tmtccmd.pus.s8_fsfw_action import Service8FsfwTm
from tmtccmd.tmtc.tm_base import PusTmInfoInterface, PusTmInterface
from tmtccmd.util.obj_id import ObjectIdU32, ObjectIdBase
from tmtccmd.pus.tm.s3_hk_base import HkContentType
Expand Down Expand Up @@ -167,32 +166,6 @@ def get_validity_buffer_str(validity_buffer: bytes, num_vars: int) -> str:
"""
return get_validity_buffer_str(validity_buffer, num_vars)

@staticmethod
def generic_action_packet_tm_print(
packet: Service8FsfwTm, obj_id: ObjectIdBase
) -> str:
print_string = (
f"Service 8 data reply from {obj_id} with action ID {packet.action_id} "
f"and data size {len(packet.tm_data)}"
)
return print_string

def __handle_wiretapping_packet(
self, packet_if: PusTmInterface, info_if: PusTmInfoInterface
):
"""
:param packet_if: Core packet interface
:param info_if: Information interface
:return:
"""
if packet_if.service == 2 and (
packet_if.subservice == 131 or packet_if.subservice == 130
):
self.__print_buffer = (
f"Wiretapping Packet or Raw Reply from TM [{packet_if.service},"
f"{packet_if.subservice}]: "
)

@staticmethod
def bit_extractor(byte: int, position: int):
"""
Expand Down

0 comments on commit 98970df

Please sign in to comment.