Commit Graph

42 Commits

Author SHA1 Message Date
3d2fc28468
Merge remote-tracking branch 'upstream/mueller/new-cfdp-update-with-handlers' into cfdp-integration 2022-09-16 11:10:35 +02:00
bd594123a2 Merge remote-tracking branch 'upstream/development' into mohr/merge-upstream 2022-09-14 12:54:15 +02:00
fb96250e36
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-09-05 14:50:43 +02:00
d64ad71529
Some improvements for time stamper API 2022-09-05 14:44:35 +02:00
f5866ddace
missing replacements 2022-08-24 17:25:45 +02:00
f91ad84bdc
Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/refactor-tmtc-stack-retval-merged 2022-08-24 17:13:41 +02:00
52f8c5038b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
2a4ab0af7b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 14:17:24 +02:00
e3648b6e30 Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-16 17:25:22 +02:00
2e52d7a31d Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-16 17:23:52 +02:00
875174c4ad
better name for global object 2022-08-16 17:17:45 +02:00
1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
d022ce82c5
Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-15 11:30:09 +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
da106fd96f
do not use TC info for failed TC retrieval 2022-07-29 10:23:59 +02:00
30ba9ab916
some more fixes 2022-07-28 13:00:53 +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
234ccdf764
send time stampers properly now 2022-07-27 17:48:59 +02:00
083d08ae2a
various bugs and improvements 2022-07-27 17:00:43 +02:00
059fb10558
add helper methods to disable crc calculation 2022-07-27 11:41:06 +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
75c824ec80
add new VerificationReporterIF 2022-07-26 13:59:09 +02:00
500a5602bd
added additional TM store and send helper 2022-07-26 11:09:57 +02:00
586993c081
completed send helper tests 2022-07-25 20:31:06 +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
832367fb30
replace some API components with references 2022-07-25 10:50:52 +02:00
f0c8fd2688
some renaming 2022-07-25 10:24:43 +02:00
affde6bad5
rename namespace 2022-07-21 18:21:10 +02:00
e5ee96259d
some fixes 2022-07-21 13:48:58 +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
0a7f2c6646
refactored space packet interface 2022-07-18 10:20:26 +02:00
cf69af4e7e
passing mqArgs to all mq ctor calls 2022-02-19 16:14:02 +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
d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00