Added CFDP packet stack #528

Merged
muellerr merged 10 commits from KSat/fsfw:mueller/cfdp-pdus into development 2022-02-02 10:27:40 +01:00

10 Commits

Author SHA1 Message Date
Robin Müller e5cc7069a6
Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus
fsfw/fsfw/pipeline/pr-development This commit looks good Details
2022-02-02 10:19:31 +01:00
Robin Mueller 9cde8c7f45 Merge branch 'mueller/cfdp-pdus' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller/cfdp-pdus
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2022-02-01 11:01:19 +01:00
Robin Mueller 751de7accc
Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus 2022-02-01 11:00:57 +01:00
Robin Müller d93f2c5055 Merge branch 'development' into mueller/cfdp-pdus
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2021-12-20 14:16:02 +01:00
Robin Müller d39e0c8bb6
renamed test folder
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2021-12-07 14:08:26 +01:00
Robin Müller 7a84dff7d6
maybe this fixes the build error?
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2021-12-06 16:23:09 +01:00
Robin Müller 6a6f6011ba Merge branch 'mueller/cfdp-pdus' of https://egit.irs.uni-stuttgart.de/KSat/fsfw into mueller/cfdp-pdus
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2021-12-06 16:12:32 +01:00
Robin Müller 602fa3a956 Merge remote-tracking branch 'upstream/development' into mueller/cfdp-pdus 2021-12-06 16:12:06 +01:00
Steffen Gaisser c3a0aabfb8 Merge branch 'development' into mueller/cfdp-pdus
fsfw/fsfw/pipeline/pr-development There was a failure building this commit Details
2021-12-06 15:07:51 +01:00
Robin Müller 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