Commit Graph

31 Commits

Author SHA1 Message Date
e5b5c7d253 higher default MQ depth for events, printout tweak 2022-11-03 10:33:52 +01: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
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
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
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
93acac02f5 tests running again 2022-07-27 21:06:23 +02:00
4e571e5082 some more minor fixes 2022-07-27 19:40:54 +02:00
083d08ae2a various bugs and improvements 2022-07-27 17:00:43 +02:00
18ee2ab903 example compiles again 2022-07-27 11:26:47 +02:00
9eb652e585 some printout fixes 2022-07-27 10:49:49 +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
d98b79cf5e adapt PSB so it can be unittested properly 2022-07-26 16:49:46 +02:00
f14c812aff removed some obsolete code 2022-07-26 14:14:00 +02:00
75c824ec80 add new VerificationReporterIF 2022-07-26 13:59:09 +02:00
586993c081 completed send helper tests 2022-07-25 20:31:06 +02:00
1a7d7b172b set up new internal error reporter mock 2022-07-25 14:04:06 +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
d80941514f start refactoring PUS TM handling 2022-07-20 11:43:16 +02:00
6c636661b6 a lot of refactoring 2022-07-19 18:13:25 +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
d47906e833 trying to fuse header / inc 2021-07-19 16:25:51 +02:00