Persistent TM Store #320

Merged
muellerr merged 109 commits from mueller/pus-15-tm-storage into develop 2023-02-24 19:03:39 +01:00
5 changed files with 56 additions and 1 deletions
Showing only changes of commit 098741ffe6 - Show all commits

View File

@ -1,3 +1,4 @@
target_sources(
${LIB_EIVE_MISSION} PRIVATE CCSDSHandler.cpp VirtualChannel.cpp TmFunnel.cpp
CfdpTmFunnel.cpp PusTmFunnel.cpp)
CfdpTmFunnel.cpp PusTmFunnel.cpp Service15TmStorage.cpp
TmStoreBackend.cpp)

View File

@ -0,0 +1,13 @@
#include "Service15TmStorage.h"
Service15TmStorage::Service15TmStorage(PsbParams params): PusServiceBase(params) {
}
ReturnValue_t Service15TmStorage::handleRequest(uint8_t subservice) {
return returnvalue::OK;
}
ReturnValue_t Service15TmStorage::performService() {
return returnvalue::OK;
}

View File

@ -0,0 +1,16 @@
#ifndef MISSION_TMTC_SERVICE15TMSTORAGE_H_
#define MISSION_TMTC_SERVICE15TMSTORAGE_H_
#include "fsfw/tmtcservices/PusServiceBase.h"
class Service15TmStorage: public PusServiceBase {
public:
explicit Service15TmStorage(PsbParams params);
private:
ReturnValue_t handleRequest(uint8_t subservice) override;
ReturnValue_t performService() override;
};
#endif /* MISSION_TMTC_SERVICE15TMSTORAGE_H_ */

View File

@ -0,0 +1,9 @@
#include "TmStoreBackend.h"
const char* TmStoreBackend::getName() const {
return "TM Store Backend";
}
MessageQueueId_t TmStoreBackend::getReportReceptionQueue(uint8_t virtualChannel) const {
return MessageQueueIF::NO_QUEUE;
}

View File

@ -0,0 +1,16 @@
#ifndef MISSION_TMTC_TMSTOREBACKEND_H_
#define MISSION_TMTC_TMSTOREBACKEND_H_
#include <fsfw/tmtcservices/AcceptsTelemetryIF.h>
class TmStoreBackend: public AcceptsTelemetryIF {
public:
[[nodiscard]] const char* getName() const override;
[[nodiscard]] MessageQueueId_t getReportReceptionQueue(uint8_t virtualChannel) const override;
private:
};
#endif /* MISSION_TMTC_TMSTOREBACKEND_H_ */