looking good
All checks were successful
EIVE/-/pipeline/pr-main This commit looks good

This commit is contained in:
2023-09-04 11:17:25 +02:00
parent 7f79ef6c12
commit 6657bf072c
2 changed files with 7 additions and 9 deletions

View File

@ -20,12 +20,8 @@ class CfdpInCcsdsWrapper(SpecificApidHandlerBase):
pdu = packet[SPACE_PACKET_HEADER_SIZE:]
pdu_base = PduFactory.from_raw(pdu)
if pdu_base.pdu_type == PduType.FILE_DATA:
_LOGGER.info("Received File Data PDU TM")
_LOGGER.info("Received File Data PDU")
else:
if pdu_base.directive_type == DirectiveType.FINISHED_PDU:
_LOGGER.info("Received Finished PDU TM")
else:
_LOGGER.info(
f"Received File Directive PDU with type {pdu_base.directive_type!r} TM"
)
directive_type = DirectiveType(pdu_base.directive_type)
_LOGGER.info(f"Received File Directive PDU with type {directive_type!r}")
self.handler.pass_pdu_packet(pdu_base)