Commit Graph

27 Commits

Author SHA1 Message Date
c90d1c8071 continue dest handler impl 2022-09-02 14:39:53 +02:00
eae75b29e7 start file data pdu processing 2022-09-02 11:58:16 +02:00
b1bd631322 implemented metadata handler 2022-08-23 20:30:41 +02:00
9441b4a70e continue dest handler 2022-08-23 19:37:30 +02:00
d12c59c8ac all retval replacements 2022-08-22 16:35:53 +02:00
52f8c5038b Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
62fe75ee40 perform renaming 2022-08-15 20:28:16 +02:00
507c6ddff1 added some param structs 2022-08-09 21:03:56 +02:00
d45108e3c2 add remote config table provider class 2022-08-09 18:51:44 +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
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
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
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
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