Persistent TM Store #320
@ -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)
|
||||
|
13
mission/tmtc/Service15TmStorage.cpp
Normal file
13
mission/tmtc/Service15TmStorage.cpp
Normal 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;
|
||||
}
|
16
mission/tmtc/Service15TmStorage.h
Normal file
16
mission/tmtc/Service15TmStorage.h
Normal 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_ */
|
9
mission/tmtc/TmStoreBackend.cpp
Normal file
9
mission/tmtc/TmStoreBackend.cpp
Normal 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;
|
||||
}
|
16
mission/tmtc/TmStoreBackend.h
Normal file
16
mission/tmtc/TmStoreBackend.h
Normal 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_ */
|
Loading…
Reference in New Issue
Block a user