TMTC Stack Refactoring #106

Merged
muellerr merged 123 commits from mueller/tmtc-stack-refactoring into develop 2022-08-16 17:30:17 +02:00

123 Commits

Author SHA1 Message Date
Robin Müller cdd0ca70ed Merge branch 'develop' into mueller/tmtc-stack-refactoring 2022-08-16 17:29:48 +02:00
Robin Müller e3648b6e30 Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-16 17:25:22 +02:00
Robin Müller 239d053562
update changelog 2022-08-16 17:23:10 +02:00
Robin Müller 875174c4ad
better name for global object 2022-08-16 17:17:45 +02:00
Robin Müller 8fd8a37f59
flip verif reporter ctor arguments 2022-08-16 17:10:48 +02:00
Robin Müller d815f422c3
improve verif reporter API 2022-08-16 17:09:22 +02:00
Robin Müller c57e95c698 Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-15 19:18:46 +02:00
Robin Müller 9e064fe800
fix unittests 2022-08-15 19:16:31 +02:00
Robin Müller d7ec04bf4b
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack 2022-08-15 19:05:50 +02:00
Robin Müller 4d82d0e4c1
update source sequence counter code 2022-08-15 17:24:48 +02:00
Robin Müller 007f958a0b
fsfw fixes for merge 2022-08-15 11:38:52 +02:00
Robin Müller d022ce82c5
Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-15 11:30:09 +02:00
Robin Müller 9796abfc7d Merge branch 'development' into mueller/refactor-tmtc-stack 2022-08-09 13:06:08 +02:00
Robin Müller da106fd96f
do not use TC info for failed TC retrieval 2022-07-29 10:23:59 +02:00
Robin Müller fc3412fa35
set sec header flag and add unit test for it 2022-07-28 15:13:27 +02:00
Robin Müller 8f6f0e1d45
some more fail tests 2022-07-28 13:42:34 +02:00
Robin Müller 1b5fa2a8fa
test no crc generation 2022-07-28 13:37:07 +02:00
Robin Müller cb118176a0
completed ZcWriter unittests 2022-07-28 13:24:50 +02:00
Robin Müller 30ba9ab916
some more fixes 2022-07-28 13:00:53 +02:00
Robin Müller fb4ba487b5
Merge remote-tracking branch 'origin/mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-28 12:55:42 +02:00
Robin Müller 72bc5d4d60
add tm zc test 2022-07-28 12:52:20 +02:00
Robin Müller 5355e63711
use result instead of retval 2022-07-27 21:43:32 +02:00
Robin Müller b485afea57
Simple SerializeIF adaptions
- Returns serialized or deserialized size
2022-07-27 21:29:05 +02:00
Robin Müller 5bb7023ff3
improvements for creator API 2022-07-27 21:11:12 +02:00
Robin Müller 85dbef20b0
update serialize IF 2022-07-27 21:07:34 +02:00
Robin Müller 93acac02f5
tests running again 2022-07-27 21:06:23 +02:00
Robin Müller 7e8afcc12f
remove nullptr check 2022-07-27 20:37:21 +02:00
Robin Müller f03b7cd660
another bugfix in CSB 2022-07-27 20:10:15 +02:00
Robin Müller d641d63531
set queue of tm send helper 2022-07-27 19:56:11 +02:00
Robin Müller 4e571e5082
some more minor fixes 2022-07-27 19:40:54 +02:00
Robin Müller 356d778743
afmt 2022-07-27 18:03:17 +02:00
Robin Müller 0a38d2e22d
small bugfix 2022-07-27 17:56:16 +02:00
Robin Müller 234ccdf764
send time stampers properly now 2022-07-27 17:48:59 +02:00
Robin Müller f591b9793c
pass timeReader to Pus ZC writer 2022-07-27 17:33:39 +02:00
Robin Müller c5ad9b5fa9
switch off debugging switches 2022-07-27 17:13:42 +02:00
Robin Müller 083d08ae2a
various bugs and improvements 2022-07-27 17:00:43 +02:00
Robin Müller 740644f2c8
updates for PusDistributor 2022-07-27 14:40:51 +02:00
Robin Müller 059fb10558
add helper methods to disable crc calculation 2022-07-27 11:41:06 +02:00
Robin Müller 86692e202d
this gets rid of some warnings 2022-07-27 11:35:35 +02:00
Robin Müller 064b195c75
some of the deprecation warnings run amok 2022-07-27 11:33:19 +02:00
Robin Müller 18ee2ab903
example compiles again 2022-07-27 11:26:47 +02:00
Robin Müller 9eb652e585
some printout fixes 2022-07-27 10:49:49 +02:00
Robin Müller 681738dcc6
PSB unittests complete 2022-07-26 19:08:12 +02:00
Robin Müller 152c01b2ec
psb unittests almost complete 2022-07-26 18:58:36 +02:00
Robin Müller 8bf0fb9885
test auto-initializers 2022-07-26 18:46:28 +02:00
Robin Müller 1954ce0ea4
default PUS receiver set automatically now 2022-07-26 17:41:10 +02:00
Robin Müller d98b79cf5e
adapt PSB so it can be unittested properly 2022-07-26 16:49:46 +02:00
Robin Müller f14c812aff
removed some obsolete code 2022-07-26 14:14:00 +02:00
Robin Müller 146a0e3828
created PSB mock 2022-07-26 14:10:24 +02:00
Robin Müller 75c824ec80
add new VerificationReporterIF 2022-07-26 13:59:09 +02:00
Robin Müller 332e9dbfd5
add new tests 2022-07-26 11:19:36 +02:00
Robin Müller f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +02:00
Robin Müller 500a5602bd
added additional TM store and send helper 2022-07-26 11:09:57 +02:00
Robin Müller 4ed028000d Merge branch 'mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-26 10:29:51 +02:00
Robin Müller 88ebb67c8d
fix deprecation warnings 2022-07-26 10:27:44 +02:00
Robin Müller 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
Robin Müller bdf71d4e66
add new HasReturnvaluesIF features 2022-07-26 10:21:16 +02:00
Robin Müller e48b6f1432
possible double delete 2022-07-25 22:36:53 +02:00
Robin Müller 747243684d
more leaks 2022-07-25 22:29:18 +02:00
Robin Müller db33f9cc7e
maybe this teardown fixes the leak 2022-07-25 22:22:08 +02:00
Robin Müller c12669fe50
this should fix the mmeory leak 2022-07-25 22:10:20 +02:00
Robin Müller 6d00fc65c0
fix memory leak 2022-07-25 21:08:04 +02:00
Robin Müller 7d87274844
add old api but mark it deprecated 2022-07-25 20:53:18 +02:00
Robin Müller c83f75c515
some more tests using TM send helper 2022-07-25 20:41:01 +02:00
Robin Müller 586993c081
completed send helper tests 2022-07-25 20:31:06 +02:00
Robin Müller a88f767cca
all tests running again 2022-07-25 19:49:19 +02:00
Robin Müller 935e135f1c
normal queue sufficient 2022-07-25 19:42:05 +02:00
Robin Müller 6d0fa36f8a
cleaning up message queue mock and subscription API 2022-07-25 19:36:56 +02:00
Robin Müller 5fd5d488ff
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack 2022-07-25 14:57:28 +02:00
Robin Müller 9ee6da47e9
improving mocks 2022-07-25 14:31:57 +02:00
Robin Müller 1a7d7b172b
set up new internal error reporter mock 2022-07-25 14:04:06 +02:00
Robin Müller 36e3956efb
finished tm store helper tests 2022-07-25 13:39:07 +02:00
Robin Müller ca1e921b94
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-25 11:35:32 +02:00
Robin Müller e2ad37e3e6
more ref replacements 2022-07-25 11:26:45 +02:00
Robin Müller 973d4ee8a5
some more ref replacements 2022-07-25 11:24:13 +02:00
Robin Müller 899d021e00
using uint32_t as store_address requires explicit cast 2022-07-25 11:15:45 +02:00
Robin Müller 4989bd0f02
fixes for Linux OSAL clock 2022-07-25 10:56:19 +02:00
Robin Müller 832367fb30
replace some API components with references 2022-07-25 10:50:52 +02:00
Robin Müller 63ee88af17
added base for tm store test 2022-07-25 10:38:44 +02:00
Robin Müller 4921527022
replace c include 2022-07-25 10:31:49 +02:00
Robin Müller f0c8fd2688
some renaming 2022-07-25 10:24:43 +02:00
Robin Müller d474c4a7ee
store helper 2022-07-23 11:43:48 +02:00
Robin Müller f629d60aaf
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 11:15:20 +02:00
Robin Müller b66fd63cb4
remove doubly defines 2022-07-23 10:29:19 +02:00
Robin Müller fd55de9e95 Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:28:13 +02:00
Robin Müller 55a238d553
extended serialize if further 2022-07-23 10:24:56 +02:00
Robin Müller 9ccd9fd775
Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:07:10 +02:00
Robin Müller 99aaf7068d
some tests 2022-07-23 10:05:57 +02:00
Robin Müller c9d37e8d62 Merge branch 'mueller/expand-serialize-if' into mueller/refactor-tmtc-stack 2022-07-23 10:05:14 +02:00
Robin Müller 133894f4ba
add basic CCSDS tests 2022-07-22 18:46:58 +02:00
Robin Müller cb05329dd9
completed baseline PUS TM unittests 2022-07-22 18:31:00 +02:00
Robin Müller b350018cad
completed basic test set 2022-07-22 18:22:35 +02:00
Robin Müller 2dfbce6174
start TM reader unittests 2022-07-22 17:11:55 +02:00
Robin Müller cecaec6007
PUS TM creator tests done 2022-07-22 17:09:44 +02:00
Robin Müller f28b9ea61b
APID getter bugfix 2022-07-22 16:41:32 +02:00
Robin Müller 9275ccb79b
added some missing implementations 2022-07-22 16:09:18 +02:00
Robin Müller 67776241de
verify successfull TM serialization 2022-07-22 16:06:31 +02:00
Robin Müller bfee4fd90a
add empty test files 2022-07-21 19:16:44 +02:00
Robin Müller 0dfaba81f9
finished basic TC unittests 2022-07-21 19:10:15 +02:00
Robin Müller affde6bad5
rename namespace 2022-07-21 18:21:10 +02:00
Robin Müller 0981ee6f7e
minor changes, virtual dtors added 2022-07-21 18:17:37 +02:00
Robin Müller 61bc867bed
delete code which is not used anymore 2022-07-21 17:57:31 +02:00
Robin Müller 5af3138e81
fnished PUS TC creator unittests 2022-07-21 17:48:11 +02:00
Robin Müller 08e0b0f1a0
added sp reader unittests 2022-07-21 14:40:00 +02:00
Robin Müller 23f264096c
delete a few old classes 2022-07-21 14:05:31 +02:00
Robin Müller e5ee96259d
some fixes 2022-07-21 13:48:58 +02:00
Robin Müller d8b6cb39ac
various bugfixes and improvements 2022-07-21 11:34:11 +02:00
Robin Müller be35bd53a6
switched to new tmtc stack API 2022-07-20 22:21:15 +02:00
Robin Müller 9860061fc6
create new TmSendHelper 2022-07-20 11:45:50 +02:00
Robin Müller d80941514f
start refactoring PUS TM handling 2022-07-20 11:43:16 +02:00
Robin Müller 6c636661b6
a lot of refactoring 2022-07-19 18:13:25 +02:00
Robin Müller 5fffbd4a90
start PUS TC refactoring 2022-07-18 18:36:41 +02:00
Robin Müller 95b476d4bd
start ccsds reader unittests 2022-07-18 16:21:00 +02:00
Robin Müller 3d2af203f2
finished creator unittests 2022-07-18 16:18:04 +02:00
Robin Müller ddf38b65c3
apply auto-formatter 2022-07-18 16:07:26 +02:00
Robin Müller 490a80e49f
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack 2022-07-18 15:26:31 +02:00
Robin Müller e4d7182d93
update changelog 2022-07-18 14:58:47 +02:00
Robin Müller 7e2fdc06cd
hmm this is problematic 2022-07-18 14:05:43 +02:00
Robin Müller 3c72a42ce1
added basic sp creator test 2022-07-18 13:51:02 +02:00
Robin Müller 0c5f623780
additional ctor for space packet creator 2022-07-18 10:53:55 +02:00
Robin Müller d7a2eada94
add space packet creator class 2022-07-18 10:42:56 +02:00
Robin Müller 546e173cef
add new PUS TC IF 2022-07-18 10:29:39 +02:00
Robin Müller 0a7f2c6646
refactored space packet interface 2022-07-18 10:20:26 +02:00