Compare commits
3 Commits
b9cd08cefe
...
2756670efe
Author | SHA1 | Date | |
---|---|---|---|
2756670efe | |||
eb5ace0658 | |||
fd13694904 |
10
src/ecss.rs
10
src/ecss.rs
@ -15,6 +15,16 @@ pub type CrcType = u16;
|
|||||||
pub const CRC_CCITT_FALSE: Crc<u16> = Crc::<u16>::new(&CRC_16_IBM_3740);
|
pub const CRC_CCITT_FALSE: Crc<u16> = Crc::<u16>::new(&CRC_16_IBM_3740);
|
||||||
pub const CCSDS_HEADER_LEN: usize = size_of::<crate::zc::SpHeader>();
|
pub const CCSDS_HEADER_LEN: usize = size_of::<crate::zc::SpHeader>();
|
||||||
|
|
||||||
|
#[derive(Debug, Copy, Clone, Eq, PartialEq)]
|
||||||
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
|
pub enum PusServiceId {
|
||||||
|
Verification = 1,
|
||||||
|
Housekeeping = 3,
|
||||||
|
Event = 5,
|
||||||
|
Action = 8,
|
||||||
|
Test = 17,
|
||||||
|
}
|
||||||
|
|
||||||
/// All PUS versions. Only PUS C is supported by this library.
|
/// All PUS versions. Only PUS C is supported by this library.
|
||||||
#[derive(PartialEq, Eq, Copy, Clone, Debug)]
|
#[derive(PartialEq, Eq, Copy, Clone, Debug)]
|
||||||
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
|
||||||
|
Reference in New Issue
Block a user