use CSB backend instead
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
2022-10-24 10:26:00 +02:00
parent 098741ffe6
commit e897fb63d8
5 changed files with 52 additions and 26 deletions

View File

@ -1,16 +1,23 @@
#ifndef MISSION_TMTC_SERVICE15TMSTORAGE_H_
#define MISSION_TMTC_SERVICE15TMSTORAGE_H_
#include "fsfw/tmtcservices/PusServiceBase.h"
#include <fsfw/tmtcservices/CommandingServiceBase.h>
class Service15TmStorage: public PusServiceBase {
public:
explicit Service15TmStorage(PsbParams params);
private:
ReturnValue_t handleRequest(uint8_t subservice) override;
ReturnValue_t performService() override;
class Service15TmStorage : public CommandingServiceBase {
public:
explicit Service15TmStorage(object_id_t objectId, uint16_t apid, uint8_t numParallelCommands,
uint16_t commandTimeoutSecs, size_t queueDepth);
private:
ReturnValue_t isValidSubservice(uint8_t subservice) override;
ReturnValue_t getMessageQueueAndObject(uint8_t subservice, const uint8_t* tcData,
size_t tcDataLen, MessageQueueId_t* id,
object_id_t* objectId) override;
ReturnValue_t prepareCommand(CommandMessage* message, uint8_t subservice, const uint8_t* tcData,
size_t tcDataLen, uint32_t* state, object_id_t objectId) override;
ReturnValue_t handleReply(const CommandMessage* reply, Command_t previousCommand, uint32_t* state,
CommandMessage* optionalNextCommand, object_id_t objectId,
bool* isStep) override;
};
#endif /* MISSION_TMTC_SERVICE15TMSTORAGE_H_ */