1fcb8163e4
improved API and fixes tests for it
2023-02-12 01:19:09 +01:00
21b9434d18
the tests work now
2023-02-12 00:31:34 +01:00
bd016130b8
add initial support for request ID in scheduler
2023-02-11 14:03:30 +01:00
lkoester
ae8718ed6a
simplified get is switch on
2023-02-07 16:01:25 +01:00
lkoester
be1299e7d6
added result return to get_switch_state
2023-02-07 14:56:50 +01:00
ae3e85c50a
power abstraction
2023-02-06 11:38:13 +01:00
33e6a26d22
completed docs
2023-02-06 00:24:09 +01:00
0c7590414a
small fix
2023-02-06 00:22:38 +01:00
6ef57d57c4
store error propagation tests complete
...
adding docs
2023-02-06 00:22:07 +01:00
28e244029c
bump spacepackets to v0.5.3
2023-02-05 23:49:57 +01:00
745bbb745e
good coverage
2023-02-05 18:59:28 +01:00
7d695fc15b
some improvements for tests
2023-02-05 17:48:07 +01:00
63152739c4
extend basic impl
2023-02-05 14:15:48 +01:00
9e2d300347
first power abstraction
2023-02-05 01:18:23 +01:00
20327d14c0
bump spacepackets again
2023-02-04 15:48:41 +01:00
7dbbd18be4
bump spacepackets, clippy fixes
2023-02-04 15:35:18 +01:00
23287301c1
update names
2023-02-04 14:01:37 +01:00
lkoester
c2768a2735
added requested changes and used clippy to clean up code
2023-02-01 10:27:12 +01:00
lkoester
7569244a90
fixed scheduler logic in tmtc loop and pus handler, fixed pyclient implementation of service 11
2023-01-30 13:49:37 +01:00
lkoester
3fb028a239
small changes to scheduler and main
2023-01-30 09:52:11 +01:00
lkoester
a7aad003ab
scheduler implemented in tmtc task
2023-01-27 14:02:46 +01:00
lkoester
f215d121cc
got scheduler unit tests to work
2023-01-27 11:01:43 +01:00
lkoester
ebc2330747
Merge branch 'main' into pus_schedule_implementation
2023-01-27 09:53:02 +01:00
lkoester
ecddd739ac
some fixes
2023-01-27 09:44:02 +01:00
4f7a0785f1
add Error impls for tmtc Error enums
2023-01-27 00:25:51 +01:00
40120dc83f
various fixes and updates for satrs-core
...
1. Fix pools integration test to avoid occasional deadlocks
2. tmtc module: The `CcsdsPacketHandler` and `PusServiceProvider`
do not require a send bound anymore. However, these traits now
have an extension trait called `Sendable<DefaultName>` which requires
the trait + Send. A blanket implementation is provided. The helper
structs like `PusDistributor` and `CcsdsDistributor` require
the new Sendable trait version to allow more ergnomic usage
with threads.
2023-01-27 00:04:56 +01:00
4e361e4421
all clippy 1.67 fixes
2023-01-26 23:31:09 +01:00
81ba7c7e79
bump/tweak some deps
...
- spacepackets to 0.5.2 for include PartialEq fix
- paste: "1.0" to "1"
- delegate: Allow 0.8 and 0.9
2023-01-26 22:07:50 +01:00
lkoester
e876433396
fixed tc creation
2023-01-26 17:34:55 +01:00
lkoester
8734fa0499
issues with testing wrapped/unwrapped tc
2023-01-26 14:52:51 +01:00
lkoester
8df56ca63a
merged main
2023-01-26 10:58:44 +01:00
d92b386374
update all NOTICE files
2023-01-25 21:39:35 +01:00
7a2d518a8c
docs fixes
2023-01-25 10:52:24 +01:00
36e63bc9a9
closure returns a boolean whether to del or not
2023-01-25 10:43:11 +01:00
lkoester
dce29035a2
merging main
2023-01-25 10:15:21 +01:00
19d43b1b2c
Extend scheduler and tests
...
1. `reset` and `release_telecommands`: Add store handling to avoid memory leaks
2. Add first documentation
3. Add `new_with_current_time` method.
2023-01-25 01:40:44 +01:00
lkoester
299135a4c4
ran clippy and fmt, added insert checks to insert_multi test
2023-01-24 18:57:19 +01:00
lkoester
82f44ed0cc
fixed tc insertion, added unit tests for releasing single tcs as well as inserting and releasing multiple tcs with same timestamp
2023-01-24 14:44:28 +01:00
3315017b9b
bugfix for scheduling file
2023-01-24 11:37:25 +01:00
ad6e8a149e
Merge branch 'main' of https://egit.irs.uni-stuttgart.de/rust/satrs-launchpad
2023-01-22 16:58:37 +01:00
64bac76e29
add more scheduler unittests
2023-01-22 16:58:23 +01:00
0eb245b190
use specific spacepackets release again
2023-01-22 13:25:05 +01:00
ce6f804eed
first basic scheduler impl
2023-01-21 14:29:40 +01:00
300eabafe2
fix tests
2023-01-21 13:52:21 +01:00
89a7de355f
continue scheduler
2023-01-21 13:18:57 +01:00
1f27c23447
bump used spacepackets version
2023-01-21 12:19:05 +01:00
a665b04844
re-add satrs-core without git submoudule
2023-01-11 10:30:03 +01:00
eeccc66f0a
actually, id prefer not to use submodules for this..
2023-01-11 10:28:27 +01:00
2d37300b74
use alpha version now
2023-01-11 09:58:08 +01:00
7ba69a09e7
add satrs-core as submodule
2023-01-11 09:50:07 +01:00
f24b27ccaf
remove satrs-core to replace with submodule
2023-01-11 09:49:34 +01:00
2be2ef20c9
dont need a preview release
2023-01-10 17:18:29 +01:00
622dfb2089
use re-export in example now
2023-01-10 17:16:57 +01:00
af8a7e3e7a
preview version 0, re-export spacepackets
2023-01-10 17:08:30 +01:00
ef547b4d80
bump spacepackets to 0.4.0
2023-01-10 16:27:31 +01:00
93bd12ad3e
make some fields public
2023-01-04 15:00:23 +01:00
d5d816b846
use new API internally now
2023-01-04 14:55:14 +01:00
3b5aa8c1eb
cargo update and completed new send API
2023-01-04 14:39:56 +01:00
2427e9ef6e
additional type parameter for success/failure
2023-01-04 13:51:04 +01:00
fc47159806
needs to be done differently..
2023-01-04 11:55:04 +01:00
2ca2abe0bb
the release function returns the TM struct
2023-01-04 11:07:58 +01:00
aa2989b16f
even better
2023-01-04 00:30:00 +01:00
f6b88a9ae0
ithink this name is better
2023-01-04 00:29:47 +01:00
316a52b4fb
add utility function and rename to release
2023-01-04 00:28:34 +01:00
86710efc56
allow type/lifetime/ref erasure
2023-01-04 00:22:52 +01:00
9b4ada9bcb
split up error type to avoid unecessary generics
2023-01-03 20:44:28 +01:00
4effc5bbb3
that was annoying
2023-01-03 20:06:10 +01:00
245388fafa
remove mut bound for seq counter impl
2023-01-03 17:20:17 +01:00
328a060e9c
its not that easy..
2023-01-03 16:54:01 +01:00
b5d3b47056
maybe this will work for bare metal code as well
2023-01-03 16:35:23 +01:00
74c3f78183
some more docs added
2023-01-03 14:36:43 +01:00
c606bfae5a
add SequenceCountProvider blanket impl
2023-01-03 13:09:14 +01:00
a952a8405f
doc fixes
2023-01-03 13:02:12 +01:00
985dca351a
a blanket impl makes this easier
2023-01-03 12:45:53 +01:00
61303a9841
even Downcast requires alloc..
2023-01-03 01:15:17 +01:00
f8cd28c4f5
dyn-clone also requires alloc..
2023-01-03 01:00:51 +01:00
1fcc8d3f57
put hashbrown behind alloc feature
2023-01-03 00:22:48 +01:00
e85e953c93
use concrete git branch dependency
2023-01-02 23:54:59 +01:00
c03c88a85d
add Serialize/Deserialize derives
2023-01-02 23:32:31 +01:00
55a9422992
heapless dep is optional now
2022-12-30 23:29:56 +01:00
b74bfea7dd
put crossbeam dep behind feature gate
2022-12-30 23:28:33 +01:00
769f5be913
Merge branch 'main' of https://egit.irs.uni-stuttgart.de/rust/satrs-launchpad
2022-12-30 23:10:06 +01:00
743a2c7611
now it compiles for no_std
2022-12-30 23:09:58 +01:00
4e450808b7
always supply addressable ID
2022-12-22 09:26:00 +01:00
49c5f3eda2
refactored example to support different tc sources
2022-12-21 22:14:42 +01:00
0b0a929a11
impl ReceivesTc for TC UDP server
2022-12-21 20:02:29 +01:00
78c54cf617
add Send requirement on traits
2022-12-21 19:50:31 +01:00
2532119fbe
a lot of clippy fixes
2022-12-20 17:23:11 +01:00
58d8e66eb4
continue HK code
2022-12-20 15:33:00 +01:00
53ac1e05f4
added TMTC prefix
2022-12-20 15:06:48 +01:00
d83e291c8a
add basic subservices
2022-12-20 15:05:34 +01:00
a9b0de218f
add HK subservice enum
2022-12-19 17:05:50 +01:00
322620131f
enable serde feasture for spacepackets
2022-12-19 11:04:01 +01:00
lkoester
47b5f8a072
use typed timestamp
2022-12-19 10:11:11 +01:00
fbd5c27efc
print len of json string
2022-12-18 16:37:33 +01:00
4209c9a2a7
added prototyping module
2022-12-18 16:23:49 +01:00
46039b8d1d
bump spacepackets dependency
2022-12-08 15:26:49 +01:00
8a5fae1a95
API update
2022-12-05 08:53:13 +01:00
df670f13df
bump spacepackets
2022-12-05 08:47:11 +01:00
6c8c8537a7
cargo fmt
2022-12-04 20:00:57 +01:00