todos
This commit is contained in:
@@ -660,6 +660,8 @@ impl<
|
|||||||
metadata_pdu: MetadataPduReader,
|
metadata_pdu: MetadataPduReader,
|
||||||
first_packet: bool,
|
first_packet: bool,
|
||||||
) -> Result<(), DestError> {
|
) -> 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 {
|
if self.state != State::Idle {
|
||||||
return Err(DestError::RecvdMetadataButIsBusy);
|
return Err(DestError::RecvdMetadataButIsBusy);
|
||||||
}
|
}
|
||||||
@@ -795,6 +797,7 @@ impl<
|
|||||||
user: &mut impl CfdpUser,
|
user: &mut impl CfdpUser,
|
||||||
fd_pdu: FileDataPdu,
|
fd_pdu: FileDataPdu,
|
||||||
) -> Result<u32, DestError> {
|
) -> Result<u32, DestError> {
|
||||||
|
// TODO: Lost segment handling.
|
||||||
let mut packets_sent = 0;
|
let mut packets_sent = 0;
|
||||||
let mut handle_indication = |id: TransactionId, indication_config: &IndicationConfig| {
|
let mut handle_indication = |id: TransactionId, indication_config: &IndicationConfig| {
|
||||||
if indication_config.file_segment_recv {
|
if indication_config.file_segment_recv {
|
||||||
|
|||||||
Reference in New Issue
Block a user