start FD PDU handling

This commit is contained in:
muellerr committed 2023-07-19 00:12:14 +02:00
1 parent 8e62143ac8
commit 896b7a7358
2 files changed
+4

No files matched your search

+3
View File
@@ -4,6 +4,7 @@
#include <array>
#include "fsfw/cfdp/pdu/FileDataCreator.h"
#include "fsfw/cfdp/pdu/MetadataPduCreator.h"
#include "fsfw/filesystem/HasFileSystemIF.h"
#include "fsfw/objectmanager.h"
@@ -179,6 +180,8 @@ ReturnValue_t cfdp::SourceHandler::prepareAndSendMetadataPdu() {
ReturnValue_t cfdp::SourceHandler::prepareAndSendNextFileDataPdu() {
// TODO: Implement
// auto fileDataInfo = FileDataInfo(transactionParams.fileSize);
// auto fileDataPdu = FileDataCreator();
// Advance FSM after all file data PDUs were sent
step = TransactionStep::SENDING_EOF;
return OK;
+1
View File
@@ -65,6 +65,7 @@ class SourceHandler {
std::array<char, 524> destName{};
size_t destNameSize = 0;
cfdp::FileSize fileSize;
size_t currentFilePos = 0;
bool closureRequested = false;
PduConfig pduConf;
} transactionParams;