start FD PDU handling
This commit is contained in:
parent
8e62143ac8
commit
896b7a7358
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user