This commit is contained in:
Robin Mueller
2025-09-18 18:48:10 +02:00
parent ff7822b95c
commit 9c6a5bcd37

View File

@@ -660,6 +660,8 @@ impl<
metadata_pdu: MetadataPduReader,
first_packet: bool,
) -> Result<(), DestError> {
// TODO: If this arrives while metadata is being awaited (state is waiting on metadata),
// reset NAK activity params.
if self.state != State::Idle {
return Err(DestError::RecvdMetadataButIsBusy);
}
@@ -795,6 +797,7 @@ impl<
user: &mut impl CfdpUser,
fd_pdu: FileDataPdu,
) -> Result<u32, DestError> {
// TODO: Lost segment handling.
let mut packets_sent = 0;
let mut handle_indication = |id: TransactionId, indication_config: &IndicationConfig| {
if indication_config.file_segment_recv {