eive-obsw/mission/system/objects/ComSubsystem.h

25 lines
889 B
C
Raw Normal View History

#ifndef MISSION_SYSTEM_COMSUBSYSTEM_H_
#define MISSION_SYSTEM_COMSUBSYSTEM_H_
#include <fsfw/parameters/HasParametersIF.h>
#include <fsfw/parameters/ParameterHelper.h>
2022-04-14 09:54:07 +02:00
#include <fsfw/subsystem/Subsystem.h>
#include "mission/comDefs.h"
class ComSubsystem : public Subsystem, public ReceivesParameterMessagesIF {
2022-04-14 09:54:07 +02:00
public:
2022-09-29 19:40:00 +02:00
ComSubsystem(object_id_t setObjectId, uint32_t maxNumberOfSequences, uint32_t maxNumberOfTables);
2022-04-14 09:54:07 +02:00
MessageQueueId_t getCommandQueue() const override;
ReturnValue_t getParameter(uint8_t domainId, uint8_t uniqueIdentifier,
ParameterWrapper *parameterWrapper, const ParameterWrapper *newValues,
uint16_t startAtIndex) override;
2022-04-14 09:54:07 +02:00
private:
uint8_t datarateCfg = static_cast<uint8_t>(com::Datarate::LOW_RATE_MODULATION_BPSK);
ParameterHelper paramHelper;
2022-04-14 09:54:07 +02:00
};
#endif /* MISSION_SYSTEM_COMSUBSYSTEM_H_ */