Commit Graph

56 Commits

Author SHA1 Message Date
3583e30ee6
rename const buf setter 2022-09-05 16:27:20 +02:00
1e395dc402
set buffer expects const pointer now 2022-09-05 16:25:02 +02:00
f5421e9abd
refactor tm helper 2022-09-05 16:10:06 +02:00
75dc7a405d
del data wrapper 2022-09-05 16:02:32 +02:00
f0b7a103d4
refactor ctors 2022-09-05 15:30:53 +02:00
d64ad71529
Some improvements for time stamper API 2022-09-05 14:44:35 +02:00
a9277622ce
move data wrapper 2022-08-30 12:04:15 +02:00
ba5c6410d6
tests running again 2022-08-22 16:23:36 +02:00
1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
9e064fe800
fix unittests 2022-08-15 19:16:31 +02:00
fc3412fa35
set sec header flag and add unit test for it 2022-07-28 15:13:27 +02:00
cb118176a0
completed ZcWriter unittests 2022-07-28 13:24:50 +02:00
30ba9ab916
some more fixes 2022-07-28 13:00:53 +02:00
b485afea57
Simple SerializeIF adaptions
- Returns serialized or deserialized size
2022-07-27 21:29:05 +02:00
5bb7023ff3
improvements for creator API 2022-07-27 21:11:12 +02:00
93acac02f5
tests running again 2022-07-27 21:06:23 +02:00
0a38d2e22d
small bugfix 2022-07-27 17:56:16 +02:00
234ccdf764
send time stampers properly now 2022-07-27 17:48:59 +02:00
f591b9793c
pass timeReader to Pus ZC writer 2022-07-27 17:33:39 +02:00
083d08ae2a
various bugs and improvements 2022-07-27 17:00:43 +02:00
064b195c75
some of the deprecation warnings run amok 2022-07-27 11:33:19 +02:00
18ee2ab903
example compiles again 2022-07-27 11:26:47 +02:00
f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +02:00
500a5602bd
added additional TM store and send helper 2022-07-26 11:09:57 +02:00
e2ad37e3e6
more ref replacements 2022-07-25 11:26:45 +02:00
832367fb30
replace some API components with references 2022-07-25 10:50:52 +02:00
55a238d553
extended serialize if further 2022-07-23 10:24:56 +02:00
b350018cad
completed basic test set 2022-07-22 18:22:35 +02:00
cecaec6007
PUS TM creator tests done 2022-07-22 17:09:44 +02:00
f28b9ea61b
APID getter bugfix 2022-07-22 16:41:32 +02:00
9275ccb79b
added some missing implementations 2022-07-22 16:09:18 +02:00
67776241de
verify successfull TM serialization 2022-07-22 16:06:31 +02:00
0dfaba81f9
finished basic TC unittests 2022-07-21 19:10:15 +02:00
0981ee6f7e
minor changes, virtual dtors added 2022-07-21 18:17:37 +02:00
61bc867bed
delete code which is not used anymore 2022-07-21 17:57:31 +02:00
e5ee96259d
some fixes 2022-07-21 13:48:58 +02:00
d8b6cb39ac
various bugfixes and improvements 2022-07-21 11:34:11 +02:00
be35bd53a6
switched to new tmtc stack API 2022-07-20 22:21:15 +02:00
d80941514f
start refactoring PUS TM handling 2022-07-20 11:43:16 +02:00
6c636661b6
a lot of refactoring 2022-07-19 18:13:25 +02:00
5fffbd4a90
start PUS TC refactoring 2022-07-18 18:36:41 +02:00
d7a2eada94
add space packet creator class 2022-07-18 10:42:56 +02:00
0a7f2c6646
refactored space packet interface 2022-07-18 10:20:26 +02:00
7fee852dbd
re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
ddcac2bbac
reapply clang format 2022-02-02 10:29:30 +01:00
5907f8ee9d
Added CFDP packet stack
This PR adds the packet stack for the CCSDS File Delivery Protocol.
It also refactors the existing TMTC infastructure to allow sending
of CFDP packets to the CCSDS handlers.

This includes the whole PDU (Protocol Data Unit) stack:

- File Data PDUs

and all file directive PDUs

- ACK PDU
- NAK PDU
- Metadata PDU
- Finished PDU
- Prompt PDU
- Keep Alive PDU
- EOF PDU

The PR includes a full set of unittests for the packet stack
with a coverage of 90+ %.

The refactoring of the existing TMTC infastructure includes non-ideal
solutions like diamond inheritance.
Avoiding this solution would require refactoring the packet stack.
This would be a good idea anyway because the existing stack is tightly
coupled to the FSFW, making reuse more difficult if only the stack is
planned to be used without the store functionalities etc.

The PDU implementation provided here is only weakly coupled to the FSFW,
only using components like returnvalues or the Serialization modules.
There are dedicated serializers and deserializers, which also helps in
creating small focused modules which are easy to test.

Some of the modules here were provied by Matthias Tompert.
2021-12-03 15:37:49 +01:00
cee42f9b70 one } was on the wrong side of an #endif 2021-10-18 14:34:11 +02:00
08926f9b70
Merge remote-tracking branch 'upstream/master' into mueller/tm-stack-robustness-cherry-picked 2021-10-11 17:57:33 +02:00
d2371b3e71 removed unneeded static constexpr 2021-10-11 16:47:57 +02:00
ffa38a81b7 using pus version enum now 2021-10-11 16:47:37 +02:00