Commit Graph

4073 Commits

Author SHA1 Message Date
f2020b2492
removed obsolete empty ctor 2021-09-28 15:12:23 +02:00
5a045d03a5
wiretapping in runtime config now 2021-09-28 15:10:50 +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
c7ce568a30
added function to determine space packet ID
from APID
2021-09-28 14:50:50 +02:00
80ccaede02
refactored space packet parser 2021-09-28 14:14:59 +02:00
5fd7a8c9b7
smaller tweaks 2021-09-28 11:03:17 +02:00
254aac51ec
cleaning up 2021-09-28 10:57:21 +02:00
4b62c8aa81 Added tests 2021-09-27 21:53:27 +02:00
1b38f84edc Merge remote-tracking branch 'origin/development' into gaisser_countdown_timer 2021-09-27 21:06:20 +02:00
5064d44999 Removed Timer.cpp from CMakeLists 2021-09-27 20:45:44 +02:00
322c14d4bb Merge remote-tracking branch 'origin/development' into gaisser_countdown_timer 2021-09-27 20:01:01 +02:00
9b7da4d9e6
fixing last bugs 2021-09-27 20:00:01 +02:00
8ec35f158c Removed Timer and updated Countdown 2021-09-27 19:57:42 +02:00
71036bf6b1
something wrong with the socket.. 2021-09-27 18:35:50 +02:00
d6b3167922
tcp keep open implementation done 2021-09-27 18:05:45 +02:00
68fe94d594
PusParser integration 2021-09-27 16:15:51 +02:00
62a6e5da0b
added PUS again 2021-09-27 16:11:48 +02:00
45c0074bd7
printout improvements 2021-09-27 15:50:23 +02:00
9a25f08fef
Merge remote-tracking branch 'upstream/development' into mueller/check-for-empty-pst 2021-09-27 15:37:49 +02:00
df0adfb33c
added new tcp code 2021-09-27 15:35:09 +02:00
f3caa122ae Merge branch 'development' into mueller/increase-absolute-packet-stored-limit 2021-09-27 15:32:54 +02:00
ac2b196883 Merge pull request 'Update Linux GPIO' (#20) from mueller/update-linux-gpio into eive/develop
Reviewed-on: #20
2021-09-27 15:28:19 +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
01762ad222 Merge pull request 'SPI Updates for Linux' (#480) from eive/fsfw:mueller/spi-fix into development
Reviewed-on: fsfw/fsfw#480
2021-09-27 15:21:15 +02:00
71d66c406f Merge pull request 'GPIO code update' (#479) from eive/fsfw:mueller/gpio-update into development
Reviewed-on: fsfw/fsfw#479
2021-09-27 15:18:58 +02:00
42df77ff32
check for empty PST
and return appropriate returnvalue
2021-09-27 11:16:27 +02:00
85c04dee23
increase limit of packets stored 2021-09-27 11:12:38 +02:00
98deac1ef1
Merge branch 'mueller/tm-stack-robustness' into mueller/master 2021-09-27 11:07:02 +02:00
ba6cbde28a
Increased TM stack robustness
1. More nullptr check
2. returnvalue for inititalize function which can fail
2021-09-27 11:05:26 +02:00
a84c770dfb
type improvements and bugfixes 2021-09-27 10:51:31 +02:00
9546495507
improvements for linux libgpioIF 2021-09-27 10:38:47 +02:00
e227b5dead Merge remote-tracking branch 'origin/eive/develop' into mueller/master 2021-09-27 10:09:31 +02:00
9db5f893d7 Merge pull request 'meier/gpioOpenByLineName' (#19) from meier/gpioOpenByLineName into eive/develop
Reviewed-on: #19
2021-09-27 10:09:13 +02:00
4b3e753e19 Merge branch 'eive/develop' into meier/gpioOpenByLineName 2021-09-27 10:08:04 +02:00
4c96db847d Merge branch 'development' into mueller/gpio-update 2021-09-27 09:54:10 +02:00
0246dccbe9 Merge remote-tracking branch 'upstream/development' into mueller/spi-fix 2021-09-27 09:52:49 +02:00
36607c8764 Merge branch 'mueller/added-missing-devicehandlers' into mueller/master 2021-09-26 22:45:58 +02:00
423f7c8281
missing include and printer compatbility fixes 2021-09-26 22:45:32 +02:00
b88e6c0713
Merge branch 'mueller/added-missing-devicehandlers' into mueller/master 2021-09-26 22:39:36 +02:00
59feaa4b5c
moved class id and subsystem ID 2021-09-26 22:38:47 +02:00
a84e60a37a
Added missing devicehandlers
These devicehandlers were missing from the last PR
2021-09-26 22:22:55 +02:00
6ee2c65187 Merge remote-tracking branch 'upstream/development' into mueller/master 2021-09-26 22:21:22 +02:00
061d79bb62 Merge pull request 'Devicehandler Package' (#481) from eive/fsfw:mueller/devicehandler-package into development
Reviewed-on: fsfw/fsfw#481
2021-09-25 16:49:53 +02:00
2b6c996364
Merge branch 'mueller/devicehandler-package' into mueller/master 2021-09-25 16:42:49 +02:00
a37b6184fc
fix dataset sizes 2021-09-25 16:40:22 +02:00
dabb488c9d Merge pull request 'MgmLIS3MDLHandler fix in buildTransitionDeviceCommand' (#18) from meier/fixMgmLIS3MDLHandler into eive/develop
Reviewed-on: #18
2021-09-25 16:37:10 +02:00
Jakob Meier
16b125ef6c Merge branch 'meier/fixMgmLIS3MDLHandler' into meier/gpioOpenByLineName 2021-09-24 15:37:49 +02:00
Jakob Meier
10f8a0fd0e MgmLIS3MDLHandler fix in buildTransitionDeviceCommand 2021-09-24 15:33:55 +02:00
Jakob Meier
f6b03dee6a removed unused variable switchId from GyroL3GD20Handler class 2021-09-24 12:11:12 +02:00