Robin Müller
227535c461
formatting and smaller stuff
2022-09-29 16:46:55 +02:00
Robin Müller
c932e51818
Merge branch 'windows-tweaks' into develop
2022-09-28 00:03:51 +02:00
Robin Müller
2ca8d72e83
another small windows tweak
2022-09-28 00:03:12 +02:00
Robin Müller
348af0124b
Merge remote-tracking branch 'origin/development' into mueller/cfdp-routers
2022-09-01 17:52:11 +02:00
Robin Müller
01651f0521
more simplfications
2022-09-01 10:52:48 +02:00
Robin Müller
cf8fe7ea72
more simplfications
2022-09-01 10:51:09 +02:00
Robin Müller
28ecd0e5c6
bugfix for SP parser
2022-09-01 08:51:12 +02:00
Robin Müller
496dac89e4
important bugfix for TCP TMTC server
2022-08-31 22:47:58 +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
8c8d1cfa84
apply auto-formatter
2022-08-22 15:02:16 +02:00
Ulrich Mohr
217276d50c
renamed returnvalue header
2022-08-16 12:48:22 +02:00
Robin Müller
62fe75ee40
perform renaming
2022-08-15 20:28:16 +02:00
Robin Müller
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
Robin Müller
5355e63711
use result instead of retval
2022-07-27 21:43:32 +02:00
Robin Müller
88ebb67c8d
fix deprecation warnings
2022-07-26 10:27:44 +02:00
Steffen Gaisser
5e62258aa6
Merge branch 'development' into mueller/tcp-server-cache-client-addr
2022-05-23 14:38:05 +02:00
Robin Müller
13cda86d23
remove commented code
2022-05-18 13:13:24 +02:00
Robin Müller
e1dd27b9dd
cache the TCP client address now
2022-05-17 13:16:36 +02:00
Robin Müller
7fee852dbd
re-apply updated auto-formatter
2022-05-16 14:55:15 +02:00
Robin Müller
970f039e85
Merge remote-tracking branch 'origin/development' into mueller/extend-version-class
2022-05-13 13:21:01 +02:00
Robin Müller
be6a492022
Merge branch 'development' into mueller/extend-version-class
2022-05-09 22:34:09 +02:00
Robin Müller
80a5ed3c5b
added back fsfw namespace
2022-05-09 11:06:45 +02:00
Robin Müller
16e55a98ce
important bugfix for TCP server
2022-05-09 10:57:23 +02:00
Robin Müller
28015c4735
it compiles and runs
2022-05-01 17:48:49 +02:00
Robin Müller
ddcac2bbac
reapply clang format
2022-02-02 10:29:30 +01:00
Jakob Meier
9bcd701a50
tcp server also parses TCs when client closes connection
2021-10-09 13:31:51 +02:00
Jakob Meier
6ad7f51297
added bind call error string
2021-10-09 13:31:40 +02:00
Robin Müller
0a6a32a130
printout separation
2021-09-29 11:45:20 +02:00
Robin Müller
b1a9c90087
this should work for both OSes
2021-09-28 17:39:07 +02:00
Robin Müller
a619087fef
Merge remote-tracking branch 'upstream/mueller/tcp-windows-fixes' into mueller/tcp-keep-open-pr
2021-09-28 17:35:07 +02:00
Robin Müller
32b5060c62
all windows fixes
2021-09-28 17:28:54 +02:00
Robin Müller
1622e23f1c
delay configurable
2021-09-28 15:33:31 +02:00
Robin Müller
bbea5e33bc
removed obsolete empty ctor
2021-09-28 15:12:55 +02:00
Robin Müller
e536918804
wiretapping in runtime config now
2021-09-28 15:09:56 +02:00
Robin Müller
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
Robin Müller
eecb69d230
getter function for UDP port
2021-08-09 18:22:51 +02:00
Robin Müller
14a30f30db
More improvements for TCP/UDP port definition
2021-08-09 18:13:02 +02:00
Robin Müller
ccaa0aa24f
Cleaning up TCP and UDP code
...
Same port number used as before, but some inconsistencies fixed
2021-08-09 16:59:41 +02:00
Robin Müller
d47906e833
trying to fuse header / inc
2021-07-19 16:25:51 +02:00