Commit Graph

269 Commits

Author SHA1 Message Date
lkoester
b0c831d0dc added sequence counter to verification helper, increments after succesful sending, added very basic test (does it even increment?), needs some more tests probably 2023-03-09 09:03:14 +01:00
bb5279b277 Merge branch 'main' into feature_sender_abstraction_has_id_and_name 2023-02-28 18:43:20 +01:00
2f724f8ce3 Merge branch 'main' into feature_sender_abstraction_has_id_and_name 2023-02-28 18:35:16 +01:00
53003b9c66
allow verif failure and completion starting from accepted
- Also add some prototyping code a prep for generic PUS router
2023-02-28 14:53:57 +01:00
283fd61f81
TM sender abstractions have ID and name now 2023-02-28 14:01:40 +01:00
lkoester
153659bb88 added getter to mode and submode 2023-02-28 12:02:18 +01:00
lkoester
cf9b12b1dc made mode elements public 2023-02-28 11:59:56 +01:00
9fdd100f13 Merge branch 'main' into feature_change_request_types 2023-02-27 21:45:15 +01:00
6072bc7657
new generic Mpsc PUS senders 2023-02-27 17:00:21 +01:00
1d19f09519
reduced features 2023-02-27 13:44:24 +01:00
f639eb9b9a
refactor messages 2023-02-27 11:51:48 +01:00
b89b4db1db
improve core docs 2023-02-19 18:32:06 +01:00
lkoester
8a025c84b1 changed name convention 2023-02-16 16:37:28 +01:00
lkoester
260ec364e2 added getter fuctions to modecommand 2023-02-16 15:43:10 +01:00
943ae821de
add basic mode request handling 2023-02-15 11:19:23 +01:00
933f94f687
stupid windows 2023-02-15 11:05:32 +01:00
802333cf3e
started adding mode request handler in PUS handler 2023-02-15 02:12:00 +01:00
d960c089fd add mode module with basic defintions 2023-02-15 00:33:33 +01:00
ec46d94dc7
cargo fmt and clippy 2023-02-14 15:53:14 +01:00
lkoester
707baa8585 Merge branch 'request_id_support_sched' into power_abstractions 2023-02-13 09:23:01 +01:00
lkoester
9a7f3962cf modified power abstractions 2023-02-13 09:20:00 +01:00
08cd4c9bf7
almost done 2023-02-12 17:18:19 +01:00
08de5cb41c add deletion unittests 2023-02-12 17:01:30 +01:00
60db6e022d finished retrieval unittests 2023-02-12 16:22:09 +01:00
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
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
7dbbd18be4
bump spacepackets, clippy fixes 2023-02-04 15:35:18 +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
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
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
64bac76e29
add more scheduler unittests 2023-01-22 16:58:23 +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
f24b27ccaf
remove satrs-core to replace with submodule 2023-01-11 09:49:34 +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
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
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
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
b03f585661
bump spacepackets 2022-12-04 20:00:20 +01:00
dcccc62c7d
add missing attr 2022-12-03 16:35:22 +01:00
b0b41a07dc
new mib crate 2022-11-27 22:05:42 +01:00
7e0d3f394a
add returncode module 2022-11-27 19:24:18 +01:00
9b37c63280
first macro impl 2022-11-27 18:21:50 +01:00
76245cb55f
new resultcode module 2022-11-27 16:47:34 +01:00
e06cadd088
overflow handling 2022-11-21 10:56:43 +01:00
6b93a9fce1
some docs and corrections 2022-11-21 10:39:48 +01:00
607d53942a
lock not required anymore 2022-11-21 10:28:31 +01:00
43a1fb90ce
trying to avoid locking whole verification reporter 2022-11-21 10:16:15 +01:00
6385a65c4f
all name changes 2022-11-20 19:54:14 +01:00
2e249ec086
rename subfolders, add more READMEs 2022-11-20 19:04:08 +01:00