diff --git a/mission/tmtc/CMakeLists.txt b/mission/tmtc/CMakeLists.txt index f34f9ccc..2fdccc81 100644 --- a/mission/tmtc/CMakeLists.txt +++ b/mission/tmtc/CMakeLists.txt @@ -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) diff --git a/mission/tmtc/Service15TmStorage.cpp b/mission/tmtc/Service15TmStorage.cpp new file mode 100644 index 00000000..1a441247 --- /dev/null +++ b/mission/tmtc/Service15TmStorage.cpp @@ -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; +} diff --git a/mission/tmtc/Service15TmStorage.h b/mission/tmtc/Service15TmStorage.h new file mode 100644 index 00000000..82856bec --- /dev/null +++ b/mission/tmtc/Service15TmStorage.h @@ -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_ */ diff --git a/mission/tmtc/TmStoreBackend.cpp b/mission/tmtc/TmStoreBackend.cpp new file mode 100644 index 00000000..4ffaa98b --- /dev/null +++ b/mission/tmtc/TmStoreBackend.cpp @@ -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; +} diff --git a/mission/tmtc/TmStoreBackend.h b/mission/tmtc/TmStoreBackend.h new file mode 100644 index 00000000..d845d758 --- /dev/null +++ b/mission/tmtc/TmStoreBackend.h @@ -0,0 +1,16 @@ +#ifndef MISSION_TMTC_TMSTOREBACKEND_H_ +#define MISSION_TMTC_TMSTOREBACKEND_H_ + +#include + +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_ */