Commit Graph

211 Commits

Author SHA1 Message Date
6f8ccf83e7
use singular enum names 2022-09-15 18:41:15 +02:00
ed68268c0c
generic cfdp handler wrapper 2022-09-15 16:53:04 +02:00
753d5ff39e
adaptions for enum renaming 2022-09-15 16:47:09 +02:00
36ca35da77 Merge branch 'mueller/cfdp-update-without-handlers' into mueller/new-cfdp-update-with-handlers 2022-09-15 16:46:25 +02:00
54762232a4
refactoring and condition code to strin converter 2022-09-15 16:46:09 +02:00
dbaeed83af Merge branch 'mueller/cfdp-update-without-handlers' into mueller/new-cfdp-update-with-handlers 2022-09-14 19:48:25 +02:00
2e27a85c95
finished renaming operation 2022-09-14 19:48:11 +02:00
385a0ffd73
add CFDP handlers manually 2022-09-14 19:29:43 +02:00
3a52454949
removed handlers 2022-09-14 19:15:52 +02:00
44615c150b
add printout capabilities 2022-09-14 14:00:20 +02:00
4dadef34fd Merge remote-tracking branch 'origin/development' into mueller/cfdp-routers 2022-09-13 15:35:59 +02:00
382543fc59
important bugfix 2022-09-13 15:26:14 +02:00
34dd478848
helper class OneRemoteConfigProvider 2022-09-08 16:25:19 +02:00
b73754dfd6
implemented basic PDU forwarding 2022-09-08 12:07:16 +02:00
ec1e07b466
some more returncodes 2022-09-08 11:53:06 +02:00
c87667c03f
some API improvements 2022-09-08 11:26:17 +02:00
683cf8a047
some additional tests 2022-09-08 11:08:40 +02:00
11a4b27642
allow deferred init 2022-09-07 18:20:38 +02:00
770463e618
remove old code 2022-09-07 18:04:46 +02:00
c54caf134a
segmented file transfer working 2022-09-06 16:33:38 +02:00
67439b4285
refactor away some duplication 2022-09-06 16:03:26 +02:00
af851165b4
continue basic small file transfer unittest 2022-09-06 15:45:51 +02:00
428da017ba
empty file transfer unittest almost done 2022-09-06 13:45:43 +02:00
806ae9b41a
check that indication was called 2022-09-06 13:16:00 +02:00
7b97c8a182
continue tests 2022-09-06 11:56:05 +02:00
2e4cdb7366
additional filesystem abstractions 2022-09-05 17:42:56 +02:00
5a3f05fa79
return struct ref instead of code 2022-09-05 17:20:29 +02:00
80464f2a81
Merge branch 'mueller/refactor-serial-buffer-adapter' into mueller/refactor-tmtc-stack 2022-09-05 16:38:58 +02:00
16688316a8
rename setBuffer to setConstBuffer 2022-09-05 16:31:56 +02:00
ead22c8bd6
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-09-05 16:29:10 +02:00
3583e30ee6
rename const buf setter 2022-09-05 16:27:20 +02:00
5ce1e76723
init dest handler unittests 2022-09-05 14:20:01 +02:00
d2c4d546c3
first dest handler unittests
- Add new mock class for event reporting proxies
- Add basic setup for unittesting the CFDP destination handler
2022-09-05 11:37:41 +02:00
0dd2b5ddd4
need an event reporter proxy 2022-09-05 11:19:23 +02:00
3dfc882226
impl finish PDU sending 2022-09-05 11:03:25 +02:00
b984128de5
stub for creating finished PDU 2022-09-05 10:30:55 +02:00
134d5a1411
basic impl which allows naked no closure file transfer 2022-09-05 10:26:35 +02:00
3147f67fbd
basic dest handler framework almost complete 2022-09-02 18:03:52 +02:00
108e7737e2
continued dest handler 2022-09-02 17:54:25 +02:00
c90d1c8071
continue dest handler impl 2022-09-02 14:39:53 +02:00
eae75b29e7
start file data pdu processing 2022-09-02 11:58:16 +02:00
dc79b7ba00
delete metadata after processing 2022-09-02 11:38:46 +02:00
0de7b66218
new retval for permission errors 2022-08-31 13:26:44 +02:00
81a7c21cd1
continued router component 2022-08-24 17:31:26 +02:00
267466be9d
pass const references to user handler now 2022-08-24 15:43:58 +02:00
2c730c8632
use const struct ref instead 2022-08-24 12:11:03 +02:00
eb29b79467
some more docs 2022-08-24 08:44:20 +02:00
26ea6606bf
metadata recvd indication 2022-08-23 20:56:09 +02:00
b1bd631322
implemented metadata handler 2022-08-23 20:30:41 +02:00
9441b4a70e
continue dest handler 2022-08-23 19:37:30 +02:00
d12c59c8ac
all retval replacements 2022-08-22 16:35:53 +02:00
ba5c6410d6
tests running again 2022-08-22 16:23:36 +02:00
52f8c5038b
Merge branch 'mueller/refactor-tmtc-stack' into mueller/cfdp-routers 2022-08-22 16:21:41 +02:00
10f34e5a48
Merge remote-tracking branch 'origin/development' into mueller/refactor-tmtc-stack-with-retval-refactoring 2022-08-22 15:57:22 +02:00
8c8d1cfa84
apply auto-formatter 2022-08-22 15:02:16 +02:00
11a699c3ce
a list should do the job 2022-08-17 18:49:51 +02:00
6930656d4e
added some more basic tests 2022-08-17 17:09:39 +02:00
217276d50c renamed returnvalue header 2022-08-16 12:48:22 +02:00
f63f3fa564 more occurences in comments 2022-08-16 12:12:21 +02:00
1037102349
merge retval refactoring 2022-08-16 01:08:26 +02:00
62fe75ee40
perform renaming 2022-08-15 20:28:16 +02:00
28c8248f26
add FS mock and improve HasFilesystemIF 2022-08-10 11:09:07 +02:00
3e1fd15613
completed all indication parameters 2022-08-10 10:34:02 +02:00
96dfe46e25
added string LV tests 2022-08-10 09:39:57 +02:00
507c6ddff1
added some param structs 2022-08-09 21:03:56 +02:00
0cb15e901e
new cfdp mock folder, added additional cfdp mocks 2022-08-09 19:00:47 +02:00
d45108e3c2
add remote config table provider class 2022-08-09 18:51:44 +02:00
8c059f8f32
new filesystem module 2022-08-09 16:36:35 +02:00
5bea92d2a4
some doc updates 2022-08-09 16:26:37 +02:00
bba2d883b6
added some documentation 2022-08-09 16:18:45 +02:00
7a20412305
add user base documentation 2022-08-09 15:51:01 +02:00
dce1ebcf65
add CFDP user base 2022-08-09 15:46:42 +02:00
4ee01e395b
finished fault handler unit tests 2022-08-09 15:29:22 +02:00
7f9401cf63
some bugfixes 2022-08-09 15:09:43 +02:00
dba3f9960e
add CFDP fault handler mock 2022-08-09 14:55:08 +02:00
eccb629ba8
fnished fault handler base 2022-08-09 14:39:03 +02:00
7fb906a0ac
add first fault handler base class 2022-08-09 14:05:43 +02:00
0d26a0f54b
fnish CFDP distributor unittests 2022-08-09 13:04:23 +02:00
bddf5bded1
move some storage manager impl to IF
- Add StorageManagerMock
2022-08-09 12:36:29 +02:00
2f8020baac
move parsing steps into parse function 2022-08-09 11:03:22 +02:00
06bea2f621
test inNull and bool operator 2022-08-09 10:59:24 +02:00
904abfba28
clean up CFDP stack a bit 2022-08-08 18:29:32 +02:00
202d9341d8
add CFDP unit tests 2022-08-08 17:53:42 +02:00
fdb0cc0e44
tweaks for CFDP distributor 2022-08-08 12:31:19 +02:00
269a3052ca
added stubs for source and dest handler 2022-08-03 18:18:01 +02:00
c6a7a0fec8
use distributor instead of router 2022-08-03 18:14:49 +02:00
acf5c2a56d
better names 2022-08-03 16:00:48 +02:00
7fb9e14555
better names for CFDP components 2022-08-03 15:22:39 +02:00
b20e8a9679
continue new cfdp router 2022-08-03 15:12:29 +02:00
29bcaee196
some tests for new var len field 2022-08-03 13:34:49 +02:00
60ea9a9a7c
clean up a few tests 2022-08-03 13:15:49 +02:00
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
c7b4dc349a
using uint32_t for getIdentifier of AcceptsTcIF 2022-07-29 15:53:39 +02:00
6c5bbfa080
some renaming 2022-07-29 12:03:14 +02:00
fc3412fa35
set sec header flag and add unit test for it 2022-07-28 15:13:27 +02:00
30ba9ab916
some more fixes 2022-07-28 13:00:53 +02:00
fb4ba487b5
Merge remote-tracking branch 'origin/mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-28 12:55:42 +02:00
5355e63711
use result instead of retval 2022-07-27 21:43:32 +02:00
f1c37203a4
some more API improvements and replacements 2022-07-26 11:14:40 +02:00
4ed028000d Merge branch 'mueller/expand-retval-if' into mueller/refactor-tmtc-stack 2022-07-26 10:29:51 +02:00
88ebb67c8d
fix deprecation warnings 2022-07-26 10:27:44 +02:00
899d021e00
using uint32_t as store_address requires explicit cast 2022-07-25 11:15:45 +02:00
6c636661b6
a lot of refactoring 2022-07-19 18:13:25 +02:00
7fee852dbd
re-apply updated auto-formatter 2022-05-16 14:55:15 +02:00
7d61e67d20 more macos changes 2022-04-30 19:02:41 +02:00
0e8328fca3 Fixed include based on Feedback 2022-02-24 11:22:51 +01:00
1ef3dae72e Fixed an missing include 2022-02-23 22:36:29 +01:00
09815f5cce Clang format 2022-02-23 18:24:07 +01:00
f6357b4531 WIP compiler Flags and new unit tests for fixes 2022-02-23 18:23:22 +01: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