Commit Graph

954 Commits

Author SHA1 Message Date
Robin Müller b1bd631322
implemented metadata handler 2022-08-23 20:30:41 +02:00
Robin Müller 9441b4a70e
continue dest handler 2022-08-23 19:37:30 +02:00
Robin Müller d12c59c8ac
all retval replacements 2022-08-22 16:35:53 +02:00
Robin Müller 9e5dddf79c
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:24:20 +02:00
Robin Müller ba5c6410d6
tests running again 2022-08-22 16:23:36 +02:00
Robin Müller 52f8c5038b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
Robin Müller 10f34e5a48
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 15:57:22 +02:00
Robin Müller dab1b1d067
apply auto-formatter 2022-08-22 15:02:53 +02:00
Robin Müller 8c8d1cfa84
apply auto-formatter 2022-08-22 15:02:16 +02:00
Robin Müller 2a4ab0af7b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 14:17:24 +02:00
Robin Müller 3b33b429e6 Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-18 11:21:16 +02:00
Robin Müller ff6de8e378 important bugfix for verif reporter 2022-08-18 11:20:27 +02:00
Robin Müller 7881f5bab8
important bugfix for verif reporter 2022-08-18 11:19:42 +02:00
Robin Müller 11a699c3ce
a list should do the job 2022-08-17 18:49:51 +02:00
Robin Müller 6930656d4e
added some more basic tests 2022-08-17 17:09:39 +02:00
Robin Müller 12c452e7ce
finished host FS unittests 2022-08-17 16:10:52 +02:00
Robin Müller 23f514039a
host filesystem continued 2022-08-17 11:39:15 +02:00
Robin Müller 7205885357
added additional API for HK subscription params 2022-08-16 17:47:56 +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 2e52d7a31d Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-16 17:23:52 +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
Ulrich Mohr 217276d50c renamed returnvalue header 2022-08-16 12:48:22 +02:00
Ulrich Mohr d2ac3603a5 some more occurences 2022-08-16 12:29:53 +02:00
Ulrich Mohr f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
Robin Müller 1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
Robin Müller 221361eb9c
Merge remote-tracking branch 'origin/development' into mueller/expand-retval-if 2022-08-15 20:32:38 +02:00
Robin Müller 62fe75ee40
perform renaming 2022-08-15 20:28:16 +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 e76e109bdb Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-15 19:17:15 +02:00
Robin Müller 9e064fe800
fix unittests 2022-08-15 19:16:31 +02:00
Robin Müller 2339c48756
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-15 19:07:22 +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 94a718ff19 Merge remote-tracking branch 'origin/development' into mueller/expand-retval-if 2022-08-15 15:15:51 +02:00
Robin Müller 4a10f76784 Merge remote-tracking branch 'origin/development' into mueller/new-object-id-class 2022-08-15 15:15:00 +02:00
Ulrich Mohr 57ce5d1f34 Merge pull request 'Expand SerializeIF' (#656) from mueller/expand-serialize-if into development
Reviewed-on: fsfw/fsfw#656
2022-08-15 15:13:50 +02:00
Robin Müller ca2efb6021
remove object ID 2022-08-15 15:02:05 +02:00
Robin Müller deeeef553b
remove implicit machine endianness variants 2022-08-15 14:34:04 +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 b28091e05b Merge remote-tracking branch 'upstream/mueller/expand-serialize-if' into develop 2022-08-15 11:25:07 +02:00
Robin Müller f4c4f9946c
printout preproc block 2022-08-15 11:18:53 +02:00
Robin Müller 7f89022f5b
Merge branch 'mueller/group-mgm-data' into develop 2022-08-15 10:50:10 +02:00
Robin Müller b28c26b288
group MGM data in local pool vectors 2022-08-15 10:49:00 +02:00
Robin Müller 03fa77e2b3
get current uptime correctly 2022-08-12 12:29:10 +02:00
Robin Müller 8970a7379a
Merge remote-tracking branch 'upstream/development' into mueller/update-from-upstream 2022-08-12 12:21:50 +02:00
Robin Müller c12492df03
continued host FS test 2022-08-11 10:19:25 +02:00
Robin Müller 8aaabc5d73
basic host FS unittests 2022-08-11 10:10:05 +02:00
Robin Müller e796e025b6
continue host fs unittests 2022-08-11 09:59:14 +02:00
Robin Müller 20eee2c469
finished host FS impl 2022-08-11 09:32:18 +02:00
Robin Müller aca8b53a59
start host FS impl 2022-08-10 17:03:23 +02:00
Robin Müller 28c8248f26
add FS mock and improve HasFilesystemIF 2022-08-10 11:09:07 +02:00
Robin Müller 3e1fd15613
completed all indication parameters 2022-08-10 10:34:02 +02:00
Robin Müller 96dfe46e25
added string LV tests 2022-08-10 09:39:57 +02:00
Robin Müller 507c6ddff1
added some param structs 2022-08-09 21:03:56 +02:00
Robin Müller 0cb15e901e
new cfdp mock folder, added additional cfdp mocks 2022-08-09 19:00:47 +02:00
Robin Müller d45108e3c2
add remote config table provider class 2022-08-09 18:51:44 +02:00
Robin Müller 8c059f8f32
new filesystem module 2022-08-09 16:36:35 +02:00
Robin Müller 5bea92d2a4
some doc updates 2022-08-09 16:26:37 +02:00
Robin Müller bba2d883b6
added some documentation 2022-08-09 16:18:45 +02:00
Robin Müller 7a20412305
add user base documentation 2022-08-09 15:51:01 +02:00
Robin Müller dce1ebcf65
add CFDP user base 2022-08-09 15:46:42 +02:00
Robin Müller 4ee01e395b
finished fault handler unit tests 2022-08-09 15:29:22 +02:00
Robin Müller 7f9401cf63
some bugfixes 2022-08-09 15:09:43 +02:00
Robin Müller dba3f9960e
add CFDP fault handler mock 2022-08-09 14:55:08 +02:00
Robin Müller eccb629ba8
fnished fault handler base 2022-08-09 14:39:03 +02:00
Robin Müller 7fb906a0ac
add first fault handler base class 2022-08-09 14:05:43 +02:00
Robin Müller 0d26a0f54b
fnish CFDP distributor unittests 2022-08-09 13:04:23 +02:00
Robin Müller bddf5bded1
move some storage manager impl to IF
- Add StorageManagerMock
2022-08-09 12:36:29 +02:00
Robin Müller 2f8020baac
move parsing steps into parse function 2022-08-09 11:03:22 +02:00
Robin Müller 06bea2f621
test inNull and bool operator 2022-08-09 10:59:24 +02:00
Robin Müller 904abfba28
clean up CFDP stack a bit 2022-08-08 18:29:32 +02:00
Robin Müller 202d9341d8
add CFDP unit tests 2022-08-08 17:53:42 +02:00
Robin Müller fdb0cc0e44
tweaks for CFDP distributor 2022-08-08 12:31:19 +02:00
Robin Müller 269a3052ca
added stubs for source and dest handler 2022-08-03 18:18:01 +02:00
Robin Müller c6a7a0fec8
use distributor instead of router 2022-08-03 18:14:49 +02:00
Robin Müller acf5c2a56d
better names 2022-08-03 16:00:48 +02:00
Robin Müller 7fb9e14555
better names for CFDP components 2022-08-03 15:22:39 +02:00
Robin Müller b20e8a9679
continue new cfdp router 2022-08-03 15:12:29 +02:00
Robin Müller 29bcaee196
some tests for new var len field 2022-08-03 13:34:49 +02:00
Robin Müller 60ea9a9a7c
clean up a few tests 2022-08-03 13:15:49 +02:00
Robin Müller df690b9628
some re-ordering 2022-08-03 11:36:56 +02:00
Robin Müller a426aef7c7
add some more tests for CCSDS distributor 2022-08-03 11:33:10 +02:00
Robin Müller 902a4bfa9c
unittests for TC and CCSDS distributor 2022-08-01 17:16:37 +02:00
Robin Müller bf540ebb49
use sanitized include file 2022-08-01 14:23:52 +02:00
Robin Müller 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
Robin Müller 4334106ad1
applied auto-formatter 2022-08-01 11:05:46 +02:00
Robin Müller 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
Robin Müller 83d71548ec
CCSDS unpacker implementation 2022-07-29 16:32:50 +02:00
Robin Müller f4beef8c9f
run auto-formatter 2022-07-29 15:54:17 +02:00
Robin Müller c7b4dc349a
using uint32_t for getIdentifier of AcceptsTcIF 2022-07-29 15:53:39 +02:00
Robin Müller 96f092ef75
type correction 2022-07-29 14:30:58 +02:00
Robin Müller cd4d92b12c Merge branch 'mueller/new-object-id-class' into mueller/cfdp-routers 2022-07-29 14:22:52 +02:00
Robin Müller c9bec03f00 Merge branch 'mueller/expand-serialize-if' into mueller/new-object-id-type 2022-07-29 14:16:22 +02:00
Robin Müller 6c5c59cad8 Merge branch 'mueller/expand-serialize-if' into mueller/new-object-id-type 2022-07-29 14:15:14 +02:00
Robin Müller 03e12a2388
new object ID type 2022-07-29 14:15:05 +02:00
Robin Müller 6c5bbfa080
some renaming 2022-07-29 12:03:14 +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 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 5355e63711
use result instead of retval 2022-07-27 21:43:32 +02:00
Robin Müller dc31358d52
adaption for SerializeIF
- Returns serialized and deserialized size now
2022-07-27 21:31:09 +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 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 75c824ec80
add new VerificationReporterIF 2022-07-26 13:59:09 +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 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 f80be9e9fa
run afmt 2022-07-25 14:44:49 +02:00
Robin Müller f3af88ae40
add [[nodiscard]] and const specifiers 2022-07-25 14:44:19 +02:00
Robin Müller 380f1d0206
remove obsolete returns 2022-07-25 14:40:10 +02:00
Robin Müller 54fc35eae7
re-run afmt 2022-07-25 14:36:18 +02:00
Robin Müller 05d4162f5b Merge branch 'development' into v5.0.0 2022-07-25 14:35:36 +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 180210dc38 Merge branch 'development' into mueller/expand-serialize-if 2022-07-25 11:39:19 +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 2a34c831b1
use Be instead of Ne, which could be confused 2022-07-25 11:33:12 +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 b809f90e72
added unittests for new helpers 2022-07-23 11:10:44 +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 8e05fc0417
added a few more methods 2022-07-23 10:28:01 +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 ddad97033d
expand serialize IF further 2022-07-23 10:06:42 +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 42a1d6cccd
default implementation of simple serialize/deserialize 2022-07-23 10:03:42 +02:00
Robin Müller 133894f4ba
add basic CCSDS tests 2022-07-22 18:46:58 +02:00
Robin Müller b350018cad
completed basic test set 2022-07-22 18:22:35 +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 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 9bbe1dc716 Merge branch 'development' into mueller/possible-ring-buffer-fix 2022-07-21 13:23:44 +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