Commit Graph

31 Commits

Author SHA1 Message Date
Jakob Meier 78cf00315d use sys clock for Countdown 2023-03-03 14:30:35 +01:00
Robin Müller f84097543e
allow passing context to mutex guard 2023-03-02 15:20:59 +01:00
Robin Müller 3d2fc28468
Merge remote-tracking branch 'upstream/mueller/new-cfdp-update-with-handlers' into cfdp-integration 2022-09-16 11:10:35 +02:00
Robin Müller 4d17f1c4bb
Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into develop 2022-08-30 14:53:38 +02:00
Robin Müller 2cab73d972 avoid duplicate code 2022-08-29 20:09:28 +02:00
Robin Müller 9a9085b9e6
avoid duplicate code 2022-08-29 20:08:59 +02:00
Robin Müller 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
Robin Müller 52f8c5038b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
Robin Müller 10f34e5a48
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 15:57:22 +02:00
Ulrich Mohr 217276d50c renamed returnvalue header 2022-08-16 12:48:22 +02:00
Ulrich Mohr f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
Robin Müller 1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
Robin Müller 62fe75ee40
perform renaming 2022-08-15 20:28:16 +02:00
Robin Müller d022ce82c5
Merge remote-tracking branch 'upstream/mueller/refactor-tmtc-stack' into mueller/tmtc-stack-refactoring 2022-08-15 11:30:09 +02:00
Robin Müller 8c059f8f32
new filesystem module 2022-08-09 16:36:35 +02:00
Robin Müller 6d0fa36f8a
cleaning up message queue mock and subscription API 2022-07-25 19:36:56 +02:00
Robin Müller 1a7d7b172b
set up new internal error reporter mock 2022-07-25 14:04:06 +02:00
Robin Müller d8b6cb39ac
various bugfixes and improvements 2022-07-21 11:34:11 +02:00
Robin Müller 8cfe848dfe
service 3 and local HK man improvements 2022-05-25 14:30:00 +02:00
Robin Müller 7fee852dbd
re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
Robin Müller 5b7ca8c13c
update CHANGELOG.md, apply afmt 2022-04-27 08:39:21 +02:00
Robin Müller 95f018a0b0
update IF method 2022-04-11 14:07:02 +02:00
Robin Müller 8c2105ae0a
correct init value for object ID 2022-04-11 14:00:37 +02:00
Robin Müller 82df132e7d
tests running again 2022-04-11 13:54:43 +02:00
Robin Müller a02619e5a2
strongly simplified and streamlined IPC MQ Impl
- Generic code was duplicated across all OSALs.
  Is contained in generic base class now
- Remove duplicate documentation
2022-04-11 11:19:38 +02:00
Robin Müller a0dfdfab2c
Allow passing a MqArgs struct to the MQ creation
The struct contains context information (which can be extended)
and an arbitrary user argument in form of a void pointer.
This makes the API a lot more flexible
2022-03-22 17:49:22 +01:00
Robin Müller ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +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
Robin Müller ce93b9220e
command message cleaner include fix 2021-07-19 18:29:57 +02:00
Robin Müller d4f5c31881
optional module handling complete 2021-07-19 18:26:54 +02:00
Robin Müller d47906e833
trying to fuse header / inc 2021-07-19 16:25:51 +02:00