Commit Graph

146 Commits

Author SHA1 Message Date
ee531f8067 Merge remote-tracking branch 'eive/mueller/tcp-keep-open-pr' into mueller/master 2021-09-28 16:23:45 +02:00
80cad3ed3f Merge remote-tracking branch 'eive/mueller/increase-absolute-packet-stored-limit' into mueller/master 2021-09-28 16:17:38 +02:00
2c785ff187 Merge remote-tracking branch 'origin/development' into mueller/master 2021-09-28 15:45:03 +02:00
1622e23f1c delay configurable 2021-09-28 15:33:31 +02:00
a4d6421510
documentation and bugfixes 2021-09-28 15:30:01 +02:00
f02852d8d2
cmake lists file update 2021-09-28 15:13:46 +02:00
bbea5e33bc removed obsolete empty ctor 2021-09-28 15:12:55 +02:00
e536918804
wiretapping in runtime config now 2021-09-28 15:09:56 +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
f3caa122ae Merge branch 'development' into mueller/increase-absolute-packet-stored-limit 2021-09-27 15:32:54 +02:00
6e88f8f400 Merge pull request 'Added missing devicehandlers' (#482) from eive/fsfw:mueller/added-missing-devicehandlers into development
Reviewed-on: fsfw/fsfw#482
2021-09-27 15:27:27 +02:00
85c04dee23
increase limit of packets stored 2021-09-27 11:12:38 +02:00
0246dccbe9 Merge remote-tracking branch 'upstream/development' into mueller/spi-fix 2021-09-27 09:52:49 +02:00
59feaa4b5c
moved class id and subsystem ID 2021-09-26 22:38:47 +02:00
e31a06e702
Merge remote-tracking branch 'eive/mueller/added-missing-devicehandlers' into mueller/master 2021-09-26 22:28:26 +02:00
a6bd7c0d6e
added missing defines for debug output 2021-09-23 18:13:51 +02:00
52b3d9473e Merge remote-tracking branch 'upstream/development' into mueller/spi-fix 2021-09-23 18:10:12 +02:00
fc9b85d5db
update FSFW.h.in 2021-09-23 18:06:54 +02:00
39c909946b Merge pull request 'Some changes and improvements for DHB' (#474) from eive/fsfw:mueller/dhb-improvements into development
Reviewed-on: fsfw/fsfw#474
2021-09-20 15:23:24 +02:00
1732359f72 doc was wrong 2021-09-15 17:23:26 +02:00
21b5eaa891 Some changes and improvements for DHB
1. Renamed getCommanderId to getCommanderQueueId.
2. Some indentation
3. Correct preprocessor define for warning printout used now
2021-09-15 17:09:42 +02:00
5193294d25 Merge branch 'development' into mueller/dle-improvements 2021-09-13 15:24:53 +02:00
646b1139a6 Merge branch 'development' into mueller/dle-improvements 2021-09-13 15:18:22 +02:00
d9e2fd92fb Merge branch 'development' into meier/ActionHelperQueueCheck 2021-09-13 15:17:47 +02:00
1148adb43d Merge branch 'development' into mueller/conf-file-update 2021-09-13 15:03:08 +02:00
741d96d7ed Merge branch 'development' into mueller/version-update 2021-09-13 15:01:28 +02:00
9c9b251322 Merge branch 'development' into mueller/tcp-udp-tweaks 2021-09-13 14:56:30 +02:00
ba7acac215 Merge branch 'development' into mueller/dle-improvements 2021-09-13 14:37:32 +02:00
abacfbf2d5 added setting of readLen according to review 2021-09-13 10:38:36 +02:00
dae27a8e10
indentation 2021-09-11 19:22:51 +02:00
d36d849e69
removed part which is now not necessary anymore 2021-09-11 19:21:21 +02:00
7c7a8a5df7
added improvements from code review 2021-09-11 19:18:18 +02:00
134deb3f43
renamed function 2021-09-11 17:43:58 +02:00
11a3c8c21f
added option to disable it as well 2021-09-11 17:42:29 +02:00
c9bfc8464a
added function to enable periodic reply 2021-09-11 17:39:42 +02:00
ea573b0523
a few more tests with faulty source data 2021-09-09 11:12:42 +02:00
3d336c08f2
tests almost complete 2021-09-09 10:47:54 +02:00
d05eb23ea7
debugged and tested non-escaped encoder 2021-09-09 01:28:21 +02:00
35b53e9a17
continuing tests 2021-09-09 01:06:54 +02:00
b5063117f6
added check to avoid seg fault 2021-09-09 00:02:17 +02:00
6ccf4bee49 Merge remote-tracking branch 'origin/development' into meier/ActionHelperQueueCheck 2021-09-06 18:48:13 +02:00
7bf66dc401 Merge remote-tracking branch 'upstream/development' into mueller/dhb-periodoc-reply-fix 2021-09-06 12:10:12 +02:00
ba64b2cc3e
Merge remote-tracking branch 'upstream/mueller/master' into mueller/master 2021-08-18 18:21:26 +02:00
57b13731e0
added first DLE unit tests 2021-08-18 18:03:38 +02:00
5dcf0e44b6
encoder functions split up 2021-08-18 13:33:31 +02:00
026f7f00de
separated encoder functions as well 2021-08-18 13:33:00 +02:00
3cec9f5f80
Made two functions private, small tweak 2021-08-18 13:18:42 +02:00
94c2e703e0
made two functions private and removed unnecessary if check 2021-08-18 13:17:48 +02:00
7572d3f7cd
Merge branch 'mueller/dle-improvements' into mueller/master 2021-08-17 16:03:21 +02:00
8780c5ddcd
comment typos 2021-08-17 16:02:54 +02:00