This commit is contained in:
@ -1,13 +1,25 @@
|
||||
use super::{TransactionStep, State};
|
||||
use spacepackets::cfdp::{pdu::FileDirectiveType, PduType};
|
||||
|
||||
use super::{State, TransactionStep};
|
||||
|
||||
pub struct DestinationHandler {
|
||||
step: TransactionStep,
|
||||
state: State
|
||||
state: State,
|
||||
}
|
||||
|
||||
impl DestinationHandler {
|
||||
|
||||
pub fn state_machine() {}
|
||||
|
||||
|
||||
pub fn insert_packet(
|
||||
&mut self,
|
||||
pdu_type: PduType,
|
||||
pdu_directive: Option<FileDirectiveType>,
|
||||
raw_packet: &[u8],
|
||||
) {
|
||||
}
|
||||
pub fn state_machine(&mut self) {
|
||||
match self.state {
|
||||
State::Idle => todo!(),
|
||||
State::BusyClass1Nacked => todo!(),
|
||||
State::BusyClass2Acked => todo!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user