Commit Graph

8 Commits

Author SHA1 Message Date
227535c461 formatting and smaller stuff 2022-09-29 16:46:55 +02:00
cf8fe7ea72 more simplfications 2022-09-01 10:51:09 +02:00
496dac89e4 important bugfix for TCP TMTC server 2022-08-31 22:47:58 +02:00
f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
ddcac2bbac reapply clang format 2022-02-02 10:29:30 +01:00
bf02f14772 C++11 adaptions 2021-09-28 16:33:20 +02:00
a4d6421510 documentation and bugfixes 2021-09-28 15:30:01 +02:00
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