add first basic HK packet support

This commit is contained in:
2022-12-19 17:03:26 +01:00
parent 322620131f
commit c591092881
6 changed files with 55 additions and 8 deletions

13
satrs-example/src/hk.rs Normal file
View File

@ -0,0 +1,13 @@
pub type CollectionIntervalFactor = u32;
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum AcsHkIds {
TestMgmSet = 1,
}
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum HkRequest {
OneShot(u32),
Enable(u32, CollectionIntervalFactor),
Disable(u32, CollectionIntervalFactor),
}