Commit Graph

377 Commits

Author SHA1 Message Date
180e770392
moved a trait 2023-07-09 18:38:09 +02:00
16d495aa5c
remove some more muts 2023-07-09 18:31:56 +02:00
2783442f91
use new sender abstraction 2023-07-09 17:04:18 +02:00
1f4e6714ba
try to use new abstractions 2023-07-09 13:32:59 +02:00
1d752251f5
it compiles again 2023-07-09 13:23:34 +02:00
1389ee462e
well this simplifies a lot.. 2023-07-09 13:04:00 +02:00
1f2bd0fd54
improved and unified TM sending API 2023-07-08 14:57:11 +02:00
ea6971d9b3
improve error enum 2023-07-08 13:37:27 +02:00
ea44093ce7
first basic test for PUS test service done 2023-07-07 21:14:14 +02:00
0537956feb
add first unittest for PUS service handler 2023-07-07 20:31:38 +02:00
dd91b7d815
add back sequence count providers but optional 2023-07-07 20:11:07 +02:00
fd31adc19e
cleaner impl, tests 2023-07-07 20:04:33 +02:00
b8c338c91c
these counter types are more useful 2023-07-07 19:49:11 +02:00
42775c0bb7
improve and fix sequence counters 2023-07-07 01:25:23 +02:00
4decb1d0b7
update spacepackets to released version v0.6.0 2023-07-06 01:31:12 +02:00
985af06d94
doc 2023-07-06 01:14:01 +02:00
0d6d85e6ff
fix broken link 2023-07-06 01:00:26 +02:00
28240da002
fix tests 2023-07-06 00:58:25 +02:00
f7bf4a4d7b
done 2023-07-06 00:49:18 +02:00
5f5b77b721
almost finished completely 2023-07-05 21:08:04 +02:00
8210e01615
zero copy TM funnel 2023-07-05 19:31:48 +02:00
f34ef841bf
update deps 2023-07-05 19:11:59 +02:00
da7f929ec0
continue 2023-07-05 19:11:09 +02:00
bc65cae3ec
simplifications for verification reporter 2023-07-05 17:24:53 +02:00
43408f3a9b
only actions and modes remaining 2023-07-05 15:12:03 +02:00
52a7682a55
continue 2023-07-05 14:25:51 +02:00
363770066d
start adding event service 2023-07-05 11:58:43 +02:00
d2e896fc92
more cleaning and restructuring 2023-07-05 11:25:23 +02:00
2ba93b9942
some things in rust are really hard 2023-07-04 22:26:41 +02:00
3a1c5832a9
continue 2023-07-04 15:17:43 +02:00
e786773a65
at least it compiles again 2023-07-03 18:22:08 +02:00
5fa9553656
this is complex.. 2023-07-03 01:33:13 +02:00
148fc29b95
update syn to v2.0, large update 2023-07-03 00:42:20 +02:00
993c5546e4
doc correction 2023-05-14 16:09:09 +02:00
541311d15d
more clippy fixes 2023-05-14 16:08:12 +02:00
9b63ea3585
small clippy fix 2023-05-14 16:03:41 +02:00
lkoester
b770938965 added sequence count to timestamp creation 2023-04-26 17:23:56 +02:00
lkoester
5caf31ac17 Merge branch 'main' into try_merge 2023-03-09 09:09:14 +01:00
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
c8d6cc5977
delete code 2023-02-28 14:05:36 +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
839762942d
use released spacepackets version again 2023-02-12 17:29:19 +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
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
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
ba537f08c6
somethings wrong 2022-11-20 19:29:50 +01:00
2e249ec086
rename subfolders, add more READMEs 2022-11-20 19:04:08 +01:00