CFDP source handler #776

Merged
muellerr merged 96 commits from cfdp-source-handler into main 2023-10-19 11:11:31 +02:00
Owner

FSFW PR: eive/fsfw#157
TMTC PR: eive/eive-tmtc#233

FSFW PR: https://egit.irs.uni-stuttgart.de/eive/fsfw/pulls/157 TMTC PR: https://egit.irs.uni-stuttgart.de/eive/eive-tmtc/pulls/233
muellerr added 1 commit 2023-08-14 14:58:14 +02:00
bump fsfw
Some checks failed
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
c63093d6cf
muellerr added 1 commit 2023-08-14 15:58:19 +02:00
this compiles
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
88286eaca0
muellerr added 1 commit 2023-08-14 15:58:36 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
a7c1b19db4
muellerr added 1 commit 2023-08-14 15:59:24 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
288b09766d
muellerr added 1 commit 2023-08-14 16:29:58 +02:00
instantiated source handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
ede0805ee8
muellerr added 1 commit 2023-08-14 20:48:45 +02:00
continue source handler integration
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
360911e5eb
muellerr added 1 commit 2023-08-14 21:06:54 +02:00
better naming
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
d2ae8e9362
muellerr added 1 commit 2023-08-15 10:23:46 +02:00
clean up handler a bit
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
c09c0ee947
muellerr added 2 commits 2023-08-16 11:38:17 +02:00
muellerr added 1 commit 2023-08-16 13:16:26 +02:00
this should make proxy op forwarding work
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
f62a4ee2b4
muellerr added 1 commit 2023-08-16 13:22:21 +02:00
proxy request should now arrive at the handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
8186a3ef4f
muellerr added 1 commit 2023-08-16 13:35:16 +02:00
fix hosted build
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
d6fd28e124
muellerr added 1 commit 2023-08-16 13:36:37 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
2b5dcf99dc
muellerr added 1 commit 2023-08-17 16:45:32 +02:00
bump tmtc
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
033babf50a
muellerr added 1 commit 2023-08-30 10:56:41 +02:00
bump tmtc
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
2acb6d8132
muellerr added 1 commit 2023-08-30 11:35:06 +02:00
auto-formatting
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
0c1eae3382
muellerr added 1 commit 2023-08-30 11:38:01 +02:00
bump tmtc for bugfix
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
2f6565621b
muellerr added 1 commit 2023-08-30 11:47:46 +02:00
introduce queue for put requests
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
b6b342bf99
muellerr added 1 commit 2023-08-30 11:58:23 +02:00
that should cause a transaction start
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
fa43c5480b
muellerr added 1 commit 2023-08-30 13:10:50 +02:00
add error message
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
ea2a137aec
muellerr added 1 commit 2023-08-31 15:10:42 +02:00
trigger a useful event
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
6f2eaee50a
muellerr added 1 commit 2023-08-31 15:20:19 +02:00
CFDP handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
7e9648eabf
muellerr added 1 commit 2023-09-04 11:03:49 +02:00
source transactions now working
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
c7b27c0092
muellerr added 1 commit 2023-09-04 11:20:27 +02:00
update retvals
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
b7558e9542
muellerr added 1 commit 2023-09-05 16:05:37 +02:00
increase TM store size a bit
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
9c36898dcd
muellerr added 1 commit 2023-09-06 10:11:39 +02:00
stooopid stuff
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
a7ac383423
muellerr added 1 commit 2023-09-06 13:40:43 +02:00
a lot of good stuff
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
c64f1f8693
muellerr added 1 commit 2023-09-06 20:54:50 +02:00
bump fsfw
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
48f3ff05dc
muellerr added 1 commit 2023-09-06 21:03:18 +02:00
works properly now
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
0fb837323d
muellerr added 1 commit 2023-09-07 16:13:50 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
35f287ff23
muellerr added 1 commit 2023-09-07 16:14:26 +02:00
changelog
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
4af406b294
muellerr changed title from WIP: CFDP source handler to CFDP source handler 2023-09-07 16:14:55 +02:00
muellerr added this to the v6.6.0 milestone 2023-09-07 16:15:01 +02:00
muellerr added 1 commit 2023-09-07 16:19:13 +02:00
some tweaks for error handling code
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
2b841d2f37
muellerr added 1 commit 2023-09-07 16:20:40 +02:00
fix Q7S builds
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
101cf54745
muellerr added 1 commit 2023-09-11 16:23:57 +02:00
bump fsfw
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
33d503aef9
muellerr added 2 commits 2023-09-11 19:27:51 +02:00
miight be able to work with this
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
5d8b81e131
muellerr added 1 commit 2023-09-11 20:17:12 +02:00
beautiful
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
6771d656bb
muellerr added 1 commit 2023-09-11 20:21:22 +02:00
missing include
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
52ae402594
muellerr added 1 commit 2023-09-12 10:52:29 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
ba158e3826
muellerr added 1 commit 2023-09-12 10:52:54 +02:00
bump tmtc
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
fdd635e43f
muellerr added 1 commit 2023-09-12 14:19:29 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
b753d32b2b
muellerr added 1 commit 2023-09-12 14:22:24 +02:00
fix FM build
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
0a455183f4
muellerr added 1 commit 2023-09-12 14:27:21 +02:00
reduce duplicate code
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
24de951038
muellerr added 1 commit 2023-09-12 14:29:49 +02:00
wrong API call
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
b6f28eb239
muellerr changed title from CFDP source handler to WIP: CFDP source handler 2023-09-12 14:30:48 +02:00
muellerr added 1 commit 2023-09-12 14:32:18 +02:00
remove obsolete TODOs
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
51dafa56be
muellerr added 1 commit 2023-09-12 14:35:17 +02:00
remove commented code
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
8871146e88
muellerr added 2 commits 2023-09-13 13:10:02 +02:00
muellerr added 1 commit 2023-09-13 13:38:52 +02:00
large regular live channel queue size
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
6fa2cbbbb1
muellerr added 1 commit 2023-09-14 10:23:23 +02:00
STOOOPID bug
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
9243f917cc
muellerr added 1 commit 2023-09-14 10:38:49 +02:00
these queue sizes are sufficient
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
8071a5713f
muellerr added 2 commits 2023-09-14 12:29:16 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
592561b287
muellerr changed title from WIP: CFDP source handler to CFDP source handler 2023-09-14 12:29:23 +02:00
meggert modified the milestone from v6.6.0 to v7.0.0 2023-09-22 14:22:18 +02:00
muellerr added 1 commit 2023-10-04 09:53:02 +02:00
merge main
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
5e7f0e729b
muellerr added 2 commits 2023-10-11 12:59:31 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
7b6d1c99ff
muellerr added 1 commit 2023-10-11 13:47:53 +02:00
CFDP file segment len is configurable via definitions.h now
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
d84528e643
muellerr modified the milestone from v7.0.0 to v7.1.0 2023-10-11 18:18:27 +02:00
muellerr added 1 commit 2023-10-12 18:27:17 +02:00
important bugfix for SSC field
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
8f4c9b272c
muellerr modified the milestone from v7.1.0 to v7.2.0 2023-10-13 09:41:23 +02:00
muellerr added 5 commits 2023-10-13 09:45:23 +02:00
fix PTME
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
ffe1281eb9
bugfixes for PAPB IF
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-main This commit looks good
99192606a2
wait duration fix
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
7c42e05c23
more bugfixes
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good
8dbc5cad48
Merge branch 'refactor-fix-ptme' into cfdp-source-handler
Some checks failed
EIVE/eive-obsw/pipeline/pr-main There was a failure building this commit
5bc468f13f
muellerr added 1 commit 2023-10-13 10:04:11 +02:00
printout correction
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
031be000d4
muellerr added 2 commits 2023-10-13 11:42:36 +02:00
refactored throttle handling
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
9f600a24ff
lot of debugging and trying out
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good
5bcd171108
muellerr force-pushed cfdp-source-handler from 5bcd171108 to 9f600a24ff 2023-10-13 11:43:30 +02:00 Compare
muellerr added 15 commits 2023-10-13 17:10:45 +02:00
lot of debugging and trying out
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
EIVE/eive-obsw/pipeline/head This commit looks good
5bcd171108
lets see if this works better
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
c95964ce0f
maybe this works better?
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
2279eab5e7
gens
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
b8beddc11b
remove old printouts
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
2f25ac8e7d
delete some old code
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
a47ad98d90
this is even better
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
e7709b7091
debug flags
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
6c4149571d
small tweak
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
ce60a639ce
better docs
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
d486c04634
this should work as well now
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
f14d792658
lets leave it like this.
Some checks are pending
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler Build started...
c5c9692ded
Reviewed-on: #803
muellerr requested review from meggert 2023-10-13 17:10:53 +02:00
muellerr added 1 commit 2023-10-13 17:12:39 +02:00
changelog
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
0f5f147b8d
muellerr added 1 commit 2023-10-13 17:28:37 +02:00
added another fix
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
ffba0b371c
muellerr added 1 commit 2023-10-17 10:48:11 +02:00
Merge remote-tracking branch 'origin/main' into cfdp-source-handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
e194071936
meggert approved these changes 2023-10-18 10:52:26 +02:00
CHANGELOG.md Outdated
@ -18,1 +18,4 @@
## Added
- CFDP source handler, which allow file downlink using the standardized
Owner

he, she, it - the s must fit

he, she, it - the s must fit
@ -0,0 +5,4 @@
namespace cfdp {
class EiveFaultHandler : public cfdp::FaultHandlerBase {
Owner

should these maybe trigger an event or are they purely for ground debugging?

should these maybe trigger an event or are they purely for ground debugging?
Author
Owner

It might make sense to trigger events for some of these callbacks.. or even all of them.

It might make sense to trigger events for some of these callbacks.. or even all of them.
@ -108,1 +153,3 @@
accessorPair.second.release();
PacketInfo info(type, msg.getStorageId(), directive);
// Implement this function.
Owner

das

das
@ -137,0 +188,4 @@
sif::info << "Received CFDP put request" << std::endl;
if (srcHandler.getState() != CfdpState::IDLE) {
if (putRequestQueue.full()) {
// TODO: Trigger event and discard request. Queue is full, too many requests.
Owner

ist

ist
@ -137,0 +207,4 @@
if (remoteCfg == nullptr) {
sif::error << "CfdpHandler: No remote configuration found for destination ID "
<< putRequest.getDestId() << std::endl;
// TODO: Trigger event
Owner

das

das
@ -97,0 +175,4 @@
if (result == DirectTmSinkIF::PARTIALLY_WRITTEN) {
result = channel.handleWriteCompletionSynchronously(writtenSize, 200);
if (result != returnvalue::OK) {
// TODO: Event? Might lead to dangerous spam though..
Owner

haus

haus
@ -143,0 +143,4 @@
if (result == VirtualChannelIF::PARTIALLY_WRITTEN) {
result = channel.handleWriteCompletionSynchronously(writtenSize, 200);
if (result != returnvalue::OK) {
// TODO: Event? Might lead to dangerous spam though..
Owner

vom

vom
@ -41,0 +43,4 @@
if (result == PARTIALLY_WRITTEN) {
result = handleWriteCompletionSynchronously(writtenSize, 200);
if (result != returnvalue::OK) {
// TODO: Event? Might lead to dangerous spam though..
Owner

nikolaus

nikolaus
muellerr added 5 commits 2023-10-18 15:38:48 +02:00
more testing
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
ace75919ca
throw out stuff
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
be6d52ff4a
larger size
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
978dd4a1de
threw out other debug output
All checks were successful
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler This commit looks good
696d8e4e4c
Merge pull request 'more testing' (#807) from cfdp-source-handler-testing into cfdp-source-handler
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
07ddaa2692
Reviewed-on: #807
muellerr added 5 commits 2023-10-18 18:14:59 +02:00
fine tweaking
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
6e3a60f9c5
this is sufficient to sustain even the high rate
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
aa47881cec
disable debugging
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-cfdp-source-handler Build queued...
ca33e2987f
Reviewed-on: #808
muellerr added 1 commit 2023-10-18 18:16:35 +02:00
changelog update
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
b3f9a82064
muellerr added 1 commit 2023-10-19 11:05:11 +02:00
bump fsfw
All checks were successful
EIVE/eive-obsw/pipeline/pr-main This commit looks good
fc626a2ad6
muellerr merged commit 4ee84c0a78 into main 2023-10-19 11:11:31 +02:00
muellerr deleted branch cfdp-source-handler 2023-10-19 11:11:32 +02:00
Sign in to join this conversation.
No description provided.