start adding CFDP state machines
Some checks failed
Rust/sat-rs/pipeline/head There was a failure building this commit

This commit is contained in:
2023-07-21 20:23:24 +02:00
parent 698c2edb93
commit 0e2a413505
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,25 @@
pub mod dest;
#[derive(Copy, Clone, PartialEq, Eq)]
pub enum TransactionStep {
Idle = 0,
TransactionStart = 1,
ReceivingFileDataPdus = 2,
SendingAckPdu = 3,
TransferCompletion = 4,
SendingFinishedPdu = 5
}
#[derive(Copy, Clone, PartialEq, Eq)]
pub enum State {
Idle = 0,
BusyClass1Nacked = 2,
BusyClass2Acked = 3,
}
#[cfg(test)]
mod tests {
#[test]
fn basic_test() {
}
}