start adding basic pus 15 components
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-10-24 10:14:58 +02:00
parent 72d9775de0
commit 098741ffe6
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 56 additions and 1 deletions

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_ */