Commit Graph

654 Commits

Author SHA1 Message Date
eccb629ba8
fnished fault handler base 2022-08-09 14:39:03 +02:00
7fb906a0ac
add first fault handler base class 2022-08-09 14:05:43 +02:00
0d26a0f54b
fnish CFDP distributor unittests 2022-08-09 13:04:23 +02:00
bddf5bded1
move some storage manager impl to IF
- Add StorageManagerMock
2022-08-09 12:36:29 +02:00
2f8020baac
move parsing steps into parse function 2022-08-09 11:03:22 +02:00
06bea2f621
test inNull and bool operator 2022-08-09 10:59:24 +02:00
904abfba28
clean up CFDP stack a bit 2022-08-08 18:29:32 +02:00
202d9341d8
add CFDP unit tests 2022-08-08 17:53:42 +02:00
fdb0cc0e44
tweaks for CFDP distributor 2022-08-08 12:31:19 +02:00
269a3052ca
added stubs for source and dest handler 2022-08-03 18:18:01 +02:00
c6a7a0fec8
use distributor instead of router 2022-08-03 18:14:49 +02:00
acf5c2a56d
better names 2022-08-03 16:00:48 +02:00
7fb9e14555
better names for CFDP components 2022-08-03 15:22:39 +02:00
b20e8a9679
continue new cfdp router 2022-08-03 15:12:29 +02:00
29bcaee196
some tests for new var len field 2022-08-03 13:34:49 +02:00
60ea9a9a7c
clean up a few tests 2022-08-03 13:15:49 +02:00
df690b9628
some re-ordering 2022-08-03 11:36:56 +02:00
a426aef7c7
add some more tests for CCSDS distributor 2022-08-03 11:33:10 +02:00
902a4bfa9c
unittests for TC and CCSDS distributor 2022-08-01 17:16:37 +02:00
bf540ebb49
use sanitized include file 2022-08-01 14:23:52 +02:00
aa978205d8
Merge branch 'mueller/cfdp-routers' of https://egit.irs.uni-stuttgart.de/fsfw/fsfw into mueller/cfdp-routers 2022-08-01 13:05:56 +02:00
4334106ad1
applied auto-formatter 2022-08-01 11:05:46 +02:00
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
61bc867bed
delete code which is not used anymore 2022-07-21 17:57:31 +02:00
5af3138e81
fnished PUS TC creator unittests 2022-07-21 17:48:11 +02:00
08e0b0f1a0
added sp reader unittests 2022-07-21 14:40:00 +02:00
23f264096c
delete a few old classes 2022-07-21 14:05:31 +02:00
e5ee96259d
some fixes 2022-07-21 13:48:58 +02:00
9bbe1dc716 Merge branch 'development' into mueller/possible-ring-buffer-fix 2022-07-21 13:23:44 +02:00
d8b6cb39ac
various bugfixes and improvements 2022-07-21 11:34:11 +02:00
be35bd53a6
switched to new tmtc stack API 2022-07-20 22:21:15 +02:00
9860061fc6
create new TmSendHelper 2022-07-20 11:45:50 +02:00
d80941514f
start refactoring PUS TM handling 2022-07-20 11:43:16 +02:00
6c636661b6
a lot of refactoring 2022-07-19 18:13:25 +02:00
5fffbd4a90
start PUS TC refactoring 2022-07-18 18:36:41 +02:00
74794bb71b
apply auto-formatter 2022-07-18 16:08:06 +02:00
ddf38b65c3
apply auto-formatter 2022-07-18 16:07:26 +02:00
490a80e49f
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack 2022-07-18 15:26:31 +02:00
4da18172b3 Merge branch 'development' into mueller/possible-ring-buffer-fix 2022-07-18 14:37:56 +02:00
7e2fdc06cd
hmm this is problematic 2022-07-18 14:05:43 +02:00
3c72a42ce1
added basic sp creator test 2022-07-18 13:51:02 +02:00
78b09ed0c9
fixes includes 2022-07-18 11:58:55 +02:00
fdf35232ee
some fixes 2022-07-18 11:47:00 +02:00
8465670374
separate unittest folder 2022-07-18 11:42:51 +02:00
0c5f623780
additional ctor for space packet creator 2022-07-18 10:53:55 +02:00
d7a2eada94
add space packet creator class 2022-07-18 10:42:56 +02:00
546e173cef
add new PUS TC IF 2022-07-18 10:29:39 +02:00
0a7f2c6646
refactored space packet interface 2022-07-18 10:20:26 +02:00
3b23fb77b4
add obsolete add_subdirectory calls 2022-07-18 09:01:45 +02:00
6f7be281ef
move HAL and tests folder 2022-07-18 08:59:40 +02:00
ecac08814e better naming for functions which reset states of replies 2022-07-14 09:15:13 +02:00