Commit Graph

582 Commits

Author SHA1 Message Date
458fe460eb
TMTC Routing Refactoring
1. Make TcDistributor less powerful / more flexible and rename it to TcDistributorBase
2. Require AcceptsTelecommandsIF to have an abstract function returning the name
3. Allows the CCSDS distributor to remove the CCSDS header before rerouting. This is useful
for protocols like CFDP which are CCSDS agnostic.

WIP: Still need to implement the removal of the CCSDS header
2022-08-01 11:00:36 +02:00
83d71548ec
CCSDS unpacker implementation 2022-07-29 16:32:50 +02:00
f4beef8c9f
run auto-formatter 2022-07-29 15:54:17 +02:00
c7b4dc349a
using uint32_t for getIdentifier of AcceptsTcIF 2022-07-29 15:53:39 +02:00
96f092ef75
type correction 2022-07-29 14:30:58 +02:00
cd4d92b12c Merge branch 'mueller/new-object-id-class' into mueller/cfdp-routers 2022-07-29 14:22:52 +02:00
c9bec03f00 Merge branch 'mueller/expand-serialize-if' into mueller/new-object-id-type 2022-07-29 14:16:22 +02:00
6c5c59cad8 Merge branch 'mueller/expand-serialize-if' into mueller/new-object-id-type 2022-07-29 14:15:14 +02:00
03e12a2388
new object ID type 2022-07-29 14:15:05 +02:00
6c5bbfa080
some renaming 2022-07-29 12:03:14 +02:00
da106fd96f
do not use TC info for failed TC retrieval 2022-07-29 10:23:59 +02:00
fc3412fa35
set sec header flag and add unit test for it 2022-07-28 15:13:27 +02:00
8f6f0e1d45
some more fail tests 2022-07-28 13:42:34 +02:00
cb118176a0
completed ZcWriter unittests 2022-07-28 13:24:50 +02:00
30ba9ab916
some more fixes 2022-07-28 13:00:53 +02:00
fb4ba487b5
Merge remote-tracking branch 'origin/mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-28 12:55:42 +02:00
5355e63711
use result instead of retval 2022-07-27 21:43:32 +02:00
dc31358d52
adaption for SerializeIF
- Returns serialized and deserialized size now
2022-07-27 21:31:09 +02:00
b485afea57
Simple SerializeIF adaptions
- Returns serialized or deserialized size
2022-07-27 21:29:05 +02:00
5bb7023ff3
improvements for creator API 2022-07-27 21:11:12 +02:00
85dbef20b0
update serialize IF 2022-07-27 21:07:34 +02:00
93acac02f5
tests running again 2022-07-27 21:06:23 +02:00
7e8afcc12f
remove nullptr check 2022-07-27 20:37:21 +02:00
f03b7cd660
another bugfix in CSB 2022-07-27 20:10:15 +02:00
d641d63531
set queue of tm send helper 2022-07-27 19:56:11 +02:00
4e571e5082
some more minor fixes 2022-07-27 19:40:54 +02:00
356d778743
afmt 2022-07-27 18:03:17 +02:00
0a38d2e22d
small bugfix 2022-07-27 17:56:16 +02:00
234ccdf764
send time stampers properly now 2022-07-27 17:48:59 +02:00
f591b9793c
pass timeReader to Pus ZC writer 2022-07-27 17:33:39 +02:00
c5ad9b5fa9
switch off debugging switches 2022-07-27 17:13:42 +02:00
083d08ae2a
various bugs and improvements 2022-07-27 17:00:43 +02:00
740644f2c8
updates for PusDistributor 2022-07-27 14:40:51 +02:00
059fb10558
add helper methods to disable crc calculation 2022-07-27 11:41:06 +02:00
86692e202d
this gets rid of some warnings 2022-07-27 11:35:35 +02:00
064b195c75
some of the deprecation warnings run amok 2022-07-27 11:33:19 +02:00
18ee2ab903
example compiles again 2022-07-27 11:26:47 +02:00
9eb652e585
some printout fixes 2022-07-27 10:49:49 +02:00
152c01b2ec
psb unittests almost complete 2022-07-26 18:58:36 +02:00
8bf0fb9885
test auto-initializers 2022-07-26 18:46:28 +02:00
1954ce0ea4
default PUS receiver set automatically now 2022-07-26 17:41:10 +02:00
d98b79cf5e
adapt PSB so it can be unittested properly 2022-07-26 16:49:46 +02:00
f14c812aff
removed some obsolete code 2022-07-26 14:14:00 +02:00
75c824ec80
add new VerificationReporterIF 2022-07-26 13:59:09 +02:00
f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +02:00
500a5602bd
added additional TM store and send helper 2022-07-26 11:09:57 +02:00
4ed028000d Merge branch 'mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-26 10:29:51 +02:00
88ebb67c8d
fix deprecation warnings 2022-07-26 10:27:44 +02:00
b827bd8370
update HasReturnvaluesIF
1. Add new retval namespace which contains OK and FAIL returnvalue
2. Also contains makeCode constexpr function
3. Mark HasReturnvaluesIF::makeReturnCode deprecated

This prevents from having to implement an interface just to use a shorter
version of the general returnvalues. A namespace is better suited for this
I think
2022-07-26 10:22:05 +02:00
bdf71d4e66
add new HasReturnvaluesIF features 2022-07-26 10:21:16 +02:00
e48b6f1432
possible double delete 2022-07-25 22:36:53 +02:00
747243684d
more leaks 2022-07-25 22:29:18 +02:00
db33f9cc7e
maybe this teardown fixes the leak 2022-07-25 22:22:08 +02:00
c12669fe50
this should fix the mmeory leak 2022-07-25 22:10:20 +02:00
6d00fc65c0
fix memory leak 2022-07-25 21:08:04 +02:00
7d87274844
add old api but mark it deprecated 2022-07-25 20:53:18 +02:00
c83f75c515
some more tests using TM send helper 2022-07-25 20:41:01 +02:00
586993c081
completed send helper tests 2022-07-25 20:31:06 +02:00
6d0fa36f8a
cleaning up message queue mock and subscription API 2022-07-25 19:36:56 +02:00
5fd5d488ff
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack 2022-07-25 14:57:28 +02:00
f80be9e9fa
run afmt 2022-07-25 14:44:49 +02:00
f3af88ae40
add [[nodiscard]] and const specifiers 2022-07-25 14:44:19 +02:00
380f1d0206
remove obsolete returns 2022-07-25 14:40:10 +02:00
54fc35eae7
re-run afmt 2022-07-25 14:36:18 +02:00
05d4162f5b Merge branch 'development' into v5.0.0 2022-07-25 14:35:36 +02:00
9ee6da47e9
improving mocks 2022-07-25 14:31:57 +02:00
1a7d7b172b
set up new internal error reporter mock 2022-07-25 14:04:06 +02:00
36e3956efb
finished tm store helper tests 2022-07-25 13:39:07 +02:00
180210dc38 Merge branch 'development' into mueller/expand-serialize-if 2022-07-25 11:39:19 +02:00
ca1e921b94
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-25 11:35:32 +02:00
2a34c831b1
use Be instead of Ne, which could be confused 2022-07-25 11:33:12 +02:00
e2ad37e3e6
more ref replacements 2022-07-25 11:26:45 +02:00
973d4ee8a5
some more ref replacements 2022-07-25 11:24:13 +02:00
899d021e00
using uint32_t as store_address requires explicit cast 2022-07-25 11:15:45 +02:00
4989bd0f02
fixes for Linux OSAL clock 2022-07-25 10:56:19 +02:00
832367fb30
replace some API components with references 2022-07-25 10:50:52 +02:00
63ee88af17
added base for tm store test 2022-07-25 10:38:44 +02:00
4921527022
replace c include 2022-07-25 10:31:49 +02:00
f0c8fd2688
some renaming 2022-07-25 10:24:43 +02:00
d474c4a7ee
store helper 2022-07-23 11:43:48 +02:00
f629d60aaf
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 11:15:20 +02:00
b809f90e72
added unittests for new helpers 2022-07-23 11:10:44 +02:00
b66fd63cb4
remove doubly defines 2022-07-23 10:29:19 +02:00
fd55de9e95 Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:28:13 +02:00
8e05fc0417
added a few more methods 2022-07-23 10:28:01 +02:00
55a238d553
extended serialize if further 2022-07-23 10:24:56 +02:00
9ccd9fd775
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:07:10 +02:00
ddad97033d
expand serialize IF further 2022-07-23 10:06:42 +02:00
99aaf7068d
some tests 2022-07-23 10:05:57 +02:00
c9d37e8d62 Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:05:14 +02:00
42a1d6cccd
default implementation of simple serialize/deserialize 2022-07-23 10:03:42 +02:00
133894f4ba
add basic CCSDS tests 2022-07-22 18:46:58 +02:00
b350018cad
completed basic test set 2022-07-22 18:22:35 +02:00
cecaec6007
PUS TM creator tests done 2022-07-22 17:09:44 +02:00
f28b9ea61b
APID getter bugfix 2022-07-22 16:41:32 +02:00
9275ccb79b
added some missing implementations 2022-07-22 16:09:18 +02:00
67776241de
verify successfull TM serialization 2022-07-22 16:06:31 +02:00
0dfaba81f9
finished basic TC unittests 2022-07-21 19:10:15 +02:00
affde6bad5
rename namespace 2022-07-21 18:21:10 +02:00
0981ee6f7e
minor changes, virtual dtors added 2022-07-21 18:17:37 +02:00