Commit Graph

211 Commits

Author SHA1 Message Date
d12c59c8ac
all retval replacements 2022-08-22 16:35:53 +02:00
ba5c6410d6
tests running again 2022-08-22 16:23:36 +02:00
52f8c5038b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
10f34e5a48
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 15:57:22 +02:00
8c8d1cfa84
apply auto-formatter 2022-08-22 15:02:16 +02:00
11a699c3ce
a list should do the job 2022-08-17 18:49:51 +02:00
6930656d4e
added some more basic tests 2022-08-17 17:09:39 +02:00
217276d50c renamed returnvalue header 2022-08-16 12:48:22 +02:00
f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
62fe75ee40
perform renaming 2022-08-15 20:28:16 +02:00
28c8248f26
add FS mock and improve HasFilesystemIF 2022-08-10 11:09:07 +02:00
3e1fd15613
completed all indication parameters 2022-08-10 10:34:02 +02:00
96dfe46e25
added string LV tests 2022-08-10 09:39:57 +02:00
507c6ddff1
added some param structs 2022-08-09 21:03:56 +02:00
0cb15e901e
new cfdp mock folder, added additional cfdp mocks 2022-08-09 19:00:47 +02:00
d45108e3c2
add remote config table provider class 2022-08-09 18:51:44 +02:00
8c059f8f32
new filesystem module 2022-08-09 16:36:35 +02:00
5bea92d2a4
some doc updates 2022-08-09 16:26:37 +02:00
bba2d883b6
added some documentation 2022-08-09 16:18:45 +02:00
7a20412305
add user base documentation 2022-08-09 15:51:01 +02:00
dce1ebcf65
add CFDP user base 2022-08-09 15:46:42 +02:00
4ee01e395b
finished fault handler unit tests 2022-08-09 15:29:22 +02:00
7f9401cf63
some bugfixes 2022-08-09 15:09:43 +02:00
dba3f9960e
add CFDP fault handler mock 2022-08-09 14:55:08 +02:00
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
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
c7b4dc349a
using uint32_t for getIdentifier of AcceptsTcIF 2022-07-29 15:53:39 +02:00
6c5bbfa080
some renaming 2022-07-29 12:03:14 +02:00
fc3412fa35
set sec header flag and add unit test for it 2022-07-28 15:13:27 +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
f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +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
899d021e00
using uint32_t as store_address requires explicit cast 2022-07-25 11:15:45 +02:00
6c636661b6
a lot of refactoring 2022-07-19 18:13:25 +02:00
7fee852dbd
re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
7d61e67d20 more macos changes 2022-04-30 19:02:41 +02:00
0e8328fca3 Fixed include based on Feedback 2022-02-24 11:22:51 +01:00
1ef3dae72e Fixed an missing include 2022-02-23 22:36:29 +01:00
09815f5cce Clang format 2022-02-23 18:24:07 +01:00
f6357b4531 WIP compiler Flags and new unit tests for fixes 2022-02-23 18:23:22 +01:00
ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
5907f8ee9d
Added CFDP packet stack
This PR adds the packet stack for the CCSDS File Delivery Protocol.
It also refactors the existing TMTC infastructure to allow sending
of CFDP packets to the CCSDS handlers.

This includes the whole PDU (Protocol Data Unit) stack:

- File Data PDUs

and all file directive PDUs

- ACK PDU
- NAK PDU
- Metadata PDU
- Finished PDU
- Prompt PDU
- Keep Alive PDU
- EOF PDU

The PR includes a full set of unittests for the packet stack
with a coverage of 90+ %.

The refactoring of the existing TMTC infastructure includes non-ideal
solutions like diamond inheritance.
Avoiding this solution would require refactoring the packet stack.
This would be a good idea anyway because the existing stack is tightly
coupled to the FSFW, making reuse more difficult if only the stack is
planned to be used without the store functionalities etc.

The PDU implementation provided here is only weakly coupled to the FSFW,
only using components like returnvalues or the Serialization modules.
There are dedicated serializers and deserializers, which also helps in
creating small focused modules which are easy to test.

Some of the modules here were provied by Matthias Tompert.
2021-12-03 15:37:49 +01:00