CFDP SOURCE handler #157

Merged
muellerr merged 107 commits from cfdp-source-handler into develop 2023-10-19 10:59:55 +02:00
3 changed files with 12 additions and 2 deletions
Showing only changes of commit 95b77ed826 - Show all commits

View File

@ -82,4 +82,4 @@ ReturnValue_t cfdp::SourceHandler::checksumGeneration() {
return OK; return OK;
} }
ReturnValue_t cfdp::SourceHandler::putRequest() { return 0; } ReturnValue_t cfdp::SourceHandler::putRequest(PutRequestFull& putRequest) { return 0; }

View File

@ -31,7 +31,7 @@ class SourceHandler {
* the state machine * the state machine
* @return * @return
*/ */
ReturnValue_t putRequest(); ReturnValue_t putRequest(PutRequestFull& putRequest);
void stateMachine(); void stateMachine();
private: private:

View File

@ -47,6 +47,16 @@ template <size_t SIZE>
using PacketInfoList = etl::list<PacketInfo, SIZE>; using PacketInfoList = etl::list<PacketInfo, SIZE>;
using PacketInfoListBase = etl::ilist<PacketInfo>; using PacketInfoListBase = etl::ilist<PacketInfo>;
struct PutRequestFull {
EntityId destId;
TransmissionMode transmissionMode;
char destName[524];
size_t destNameSize;
char sourceName[524];
size_t sourceNameSize;
bool closureRequested;
};
namespace events { namespace events {
static constexpr Event STORE_ERROR = event::makeEvent(SSID, 0, severity::LOW); static constexpr Event STORE_ERROR = event::makeEvent(SSID, 0, severity::LOW);