Commit Graph

289 Commits

Author SHA1 Message Date
Robin Müller bf02f14772 C++11 adaptions 2021-09-28 16:33:20 +02:00
Robin Müller 1622e23f1c delay configurable 2021-09-28 15:33:31 +02:00
Robin Müller a4d6421510
documentation and bugfixes 2021-09-28 15:30:01 +02:00
Robin Müller f02852d8d2
cmake lists file update 2021-09-28 15:13:46 +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
Steffen Gaisser 1b38f84edc Merge remote-tracking branch 'origin/development' into gaisser_countdown_timer 2021-09-27 21:06:20 +02:00
Robin Müller 9a25f08fef
Merge remote-tracking branch 'upstream/development' into mueller/check-for-empty-pst 2021-09-27 15:37:49 +02:00
Robin Müller f3caa122ae Merge branch 'development' into mueller/increase-absolute-packet-stored-limit 2021-09-27 15:32:54 +02:00
Ulrich Mohr 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
Robin Müller 42df77ff32
check for empty PST
and return appropriate returnvalue
2021-09-27 11:16:27 +02:00
Robin Müller 85c04dee23
increase limit of packets stored 2021-09-27 11:12:38 +02:00
Robin Müller 0246dccbe9 Merge remote-tracking branch 'upstream/development' into mueller/spi-fix 2021-09-27 09:52:49 +02:00
Robin Müller 59feaa4b5c
moved class id and subsystem ID 2021-09-26 22:38:47 +02:00
Robin Müller a6bd7c0d6e
added missing defines for debug output 2021-09-23 18:13:51 +02:00
Robin Müller 52b3d9473e Merge remote-tracking branch 'upstream/development' into mueller/spi-fix 2021-09-23 18:10:12 +02:00
Robin Müller fc9b85d5db
update FSFW.h.in 2021-09-23 18:06:54 +02:00
Ulrich Mohr 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
Robin Müller 1732359f72 doc was wrong 2021-09-15 17:23:26 +02:00
Robin Müller 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
Robin Müller 5193294d25 Merge branch 'development' into mueller/dle-improvements 2021-09-13 15:24:53 +02:00
Robin Müller 646b1139a6 Merge branch 'development' into mueller/dle-improvements 2021-09-13 15:18:22 +02:00
Steffen Gaisser d9e2fd92fb Merge branch 'development' into meier/ActionHelperQueueCheck 2021-09-13 15:17:47 +02:00
Robin Müller 1148adb43d Merge branch 'development' into mueller/conf-file-update 2021-09-13 15:03:08 +02:00
Robin Müller 741d96d7ed Merge branch 'development' into mueller/version-update 2021-09-13 15:01:28 +02:00
Robin Müller 9c9b251322 Merge branch 'development' into mueller/tcp-udp-tweaks 2021-09-13 14:56:30 +02:00
Robin Müller ba7acac215 Merge branch 'development' into mueller/dle-improvements 2021-09-13 14:37:32 +02:00
Ulrich Mohr abacfbf2d5 added setting of readLen according to review 2021-09-13 10:38:36 +02:00
Robin Müller dae27a8e10
indentation 2021-09-11 19:22:51 +02:00
Robin Müller d36d849e69
removed part which is now not necessary anymore 2021-09-11 19:21:21 +02:00
Robin Müller 7c7a8a5df7
added improvements from code review 2021-09-11 19:18:18 +02:00
Robin Müller 134deb3f43
renamed function 2021-09-11 17:43:58 +02:00
Robin Müller 11a3c8c21f
added option to disable it as well 2021-09-11 17:42:29 +02:00
Robin Müller c9bfc8464a
added function to enable periodic reply 2021-09-11 17:39:42 +02:00
Robin Müller ea573b0523
a few more tests with faulty source data 2021-09-09 11:12:42 +02:00
Robin Müller 3d336c08f2
tests almost complete 2021-09-09 10:47:54 +02:00
Robin Müller d05eb23ea7
debugged and tested non-escaped encoder 2021-09-09 01:28:21 +02:00
Robin Müller 35b53e9a17
continuing tests 2021-09-09 01:06:54 +02:00
Robin Müller b5063117f6
added check to avoid seg fault 2021-09-09 00:02:17 +02:00
Robin Müller 6ccf4bee49 Merge remote-tracking branch 'origin/development' into meier/ActionHelperQueueCheck 2021-09-06 18:48:13 +02:00
Robin Müller 7bf66dc401 Merge remote-tracking branch 'upstream/development' into mueller/dhb-periodoc-reply-fix 2021-09-06 12:10:12 +02:00
Robin Müller 5dcf0e44b6
encoder functions split up 2021-08-18 13:33:31 +02:00
Robin Müller 3cec9f5f80
Made two functions private, small tweak 2021-08-18 13:18:42 +02:00
Robin Müller 8780c5ddcd
comment typos 2021-08-17 16:02:54 +02:00
Robin Müller 654b23869f
several imporovements 2021-08-17 16:00:39 +02:00
Robin Müller 28f2db2c11
some fixes 2021-08-17 15:40:51 +02:00
Robin Müller 5fcac4d85b
added proper non-escaped variant 2021-08-17 15:39:24 +02:00
Robin Müller ece7dce6f7
ctor and dtor public now 2021-08-17 15:13:58 +02:00
Robin Müller 4b72e246c3
improved DLE encoder 2021-08-17 15:05:29 +02:00
Robin Müller db3284c2b8
subversion update 2021-08-16 14:52:11 +02:00
Robin Müller 6e9a0ddcf4
cmakedefine for OSAL type 2021-08-16 11:23:44 +02:00
Robin Müller cfb8bc5dfd
fsfw version update 2021-08-16 11:20:15 +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 2706b8fa24
Printer updates
1. Only prefix is colored now
2. Minor formatting change
2021-08-06 11:06:33 +02:00
Ulrich Mohr 4d9c07a1ec wrong path for sgp4 include 2021-08-02 21:22:56 +02:00
Robin Müller 0e5cfcf28f
minor improvement for printout 2021-08-02 16:19:37 +02:00
Robin Müller dee063e259 Merge branch 'mueller/master' of https://egit.irs.uni-stuttgart.de/fsfw/fsfw into mueller/master 2021-08-02 15:47:49 +02:00
Robin Müller aabc729e77
include changes 2021-08-02 15:47:12 +02:00
Robin Müller 0b207b2b1a
updated user folder 2021-07-30 14:18:47 +02:00
Robin Müller e1f92b3da4
various fixes and improvements 2021-07-30 13:47:29 +02:00
Robin Müller b75c815361 Merge remote-tracking branch 'origin/development' into mueller/master 2021-07-27 13:12:00 +02:00
Robin Müller ab6c616cdb
added binary semaphore header stub 2021-07-19 18:40:35 +02:00
Robin Müller ee4449b74d
override is not a good idea 2021-07-19 18:36:55 +02: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
Robin Müller 7849b8e391
mutex update 2021-07-19 15:07:56 +02:00
Robin Müller 08364e2dca Merge branch 'mueller/restructuring' into mueller/master 2021-07-19 15:06:00 +02:00
Robin Müller 4c41cb1f71
update to upstream 2021-07-19 15:03:02 +02:00
Robin Müller 16ed5e3270
update to bugfix 2021-07-19 15:01:43 +02:00
Robin Müller 291a8d4ea3
added semaphore factory 2021-07-16 12:33:19 +02:00
Robin Müller a65a184083
not an ideal solution but works for now 2021-07-16 12:22:14 +02:00
Robin Müller 62e0465b3d Merge branch 'mueller/master' of https://egit.irs.uni-stuttgart.de/eive/fsfw into mueller/master 2021-07-15 01:24:30 +02:00
Robin Müller f19f3681ca Merge remote-tracking branch 'upstream/mueller/master' into mueller/master 2021-07-15 01:24:25 +02:00
Robin Müller 704193eeaf
include replacements host/windows/rtems 2021-07-14 10:50:44 +02:00
Robin Müller 3c4289335e
integrated queue map manager bugfixes 2021-07-14 10:39:02 +02:00
Robin Müller 82299c7e3e
new test folder 2021-07-14 10:22:58 +02:00
Robin Müller 4803fb2cbd
important bugfix for queue map manager 2021-07-14 01:27:15 +02:00
Robin Müller d5dfffda2d
corrections for freertos osal 2021-07-14 00:54:39 +02:00
Robin Müller 66a79cb86c
done 2021-07-13 21:02:53 +02:00
Robin Müller a6de52e212
more include replacements 2021-07-13 20:58:45 +02:00
Robin Müller 936d0e9f0c
a lot of internal include replacements 2021-07-13 20:22:54 +02:00
Robin Müller ca297a7dcd
added hal folder 2021-07-13 19:19:25 +02:00
Robin Müller f14d5edf42
added more cmakelists files 2021-07-13 18:52:19 +02:00
Robin Müller f15352bb2f
moved memory helper to core 2021-07-13 18:46:09 +02:00
Robin Müller bdb8b0a757
restructure repository 2021-07-13 18:40:52 +02:00