#ifndef FSFW_TMTCPACKET_PUSTMIF_H #define FSFW_TMTCPACKET_PUSTMIF_H #include #include #include "fsfw/timemanager/TimeWriterIF.h" #include "fsfw/tmtcpacket/pus/PusIF.h" #include "fsfw/tmtcpacket/pus/defs.h" class PusTmIF : public PusIF { public: ~PusTmIF() override = default; /** * Minimum length without timestamp */ static constexpr size_t MIN_SEC_HEADER_LEN = 7; /** * 2 bytes for CRC16 */ static constexpr size_t MIN_SIZE = sizeof(ccsds::PrimaryHeader) + MIN_SEC_HEADER_LEN + 2; virtual uint8_t getScTimeRefStatus() = 0; virtual uint16_t getMessageTypeCounter() = 0; virtual uint16_t getDestId() = 0; }; #endif // FSFW_TMTCPACKET_PUSTMIF_H