Closed semaldona closed 2 years ago
It seems like the implementation makes sense per the walk through analysis results below. Recommend requirement update to better capture behavior (doesn't "cancel" the transaction, just closes it out per whatever method is appropriate).
Five cases from CF2002.1.2:
Positive Ack Limit Reached
Filestore Rejection
File-CRC Mismatch Failure
File-Size Error
NAK Limit Reached
Inactivity Limit Reached
Suspend Request Received
Per requirement CF2002.1, CF should cancel the transaction when a fault is detected. Currently when CF detects a fault it will issue an event message an increment the fault counter. However it will continue to retry or closeout the transaction by issuing ACK or NAK PDUs. Some of this behavior appears to be consistent with CFDP Class 2 handling. Either the requirement needs updating or CF should comply and not attempt to continue the transaction when a fault is detected.