Commit Graph
16 Commits
Author SHA1 Message Date
Jakob Meier caf78835b2 added -- operator 2022-03-17 20:00:17 +01:00
Jakob Meier 1b7e0371c3 fixed merge conflict 2022-03-14 15:25:17 +01:00
Jakob Meier d4ade5e885 sequence count operator overloading 2022-03-14 15:01:17 +01:00
muellerr 701135e2a6 applied clang format 2022-02-22 10:17:56 +01:00
muellerr cf69af4e7e passing mqArgs to all mq ctor calls 2022-02-19 16:14:02 +01:00
muellerr 41614303d7 renamed variable 2022-02-02 12:11:39 +01:00
muellerr d8c5bd125e All EIVE changes 2022-02-02 12:02:58 +01:00
muellerr ddcac2bbac reapply clang format
fsfw/fsfw/pipeline/pr-development This commit looks good
2022-02-02 10:29:30 +01:00
muellerr 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
muellerr 198fdbba62 Merge remote-tracking branch 'upstream/development' into mueller/tcp-keep-open-pr 2021-10-04 14:41:51 +02:00
muellerr bf02f14772 C++11 adaptions 2021-09-28 16:33:20 +02:00
muellerr a4d6421510 documentation and bugfixes 2021-09-28 15:30:01 +02:00
muellerr f02852d8d2 cmake lists file update 2021-09-28 15:13:46 +02:00
muellerr 09299802f0 TCP refactoring
This refactoring keeps the TCP connection opened until the client closes
it. It also increased the robustness of the TCP reception.

Because TCP is stream based and usually applied to newline separated
data, a special way to handle binary space packets is required.

The new SpacePacketParser class takes care of this by taking TC packet
IDs as as optional start markers to parse for space packets in a given
buffer.

The refactored TCP server uses a ring buffer, a reception buffer and the
new parser to extract space packets from a stream in a safer way.
2021-09-28 15:01:01 +02:00
muellerr 85c04dee23 increase limit of packets stored 2021-09-27 11:12:38 +02:00
muellerr d47906e833 trying to fuse header / inc 2021-07-19 16:25:51 +02:00