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

This commit is contained in:
Robin Müller 2023-09-04 11:17:25 +02:00
parent 7f79ef6c12
commit 6657bf072c
Signed by: muellerr
GPG Key ID: FCE0B2BD2195142F
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)

View File

@ -25,7 +25,9 @@ class EiveCfdpUser(CfdpUserBase):
pass
def file_segment_recv_indication(self, params: FileSegmentRecvdParams):
pass
_LOGGER.info(
f"CFDP User: Received File Data PDU for {params.transaction_id} | Offset: {params.offset} | Segment Length: {params.length}"
)
def report_indication(self, transaction_id: TransactionId, status_report: any):
pass
@ -49,4 +51,4 @@ class EiveCfdpUser(CfdpUserBase):
pass
def eof_recv_indication(self, transaction_id: TransactionId):
pass
_LOGGER.info(f"CFDP User: EOF received for {transaction_id}")