6 "PUS-A header not correct size (size != 6 bytes)");
31 "PUS-B header not correct size (size != 8 bytes)");
47 static_cast<uint8_t
>(
m_eventID >> 8 & 0xFF),
58 "PUS-C header not correct size (size != 8 bytes)");
#define RET_IF_ERR_MSG(condition, errorCode, message)
Macro to return an error with an error message if a condition is met.
Encapsulates a result that can hold either a value or an Error.
std::vector< uint8_t > serialize() const override
Retrieves the serialized representation of the header.
CCSDS::ResultBool deserialize(const std::vector< uint8_t > &data) override
takes a buffer if data (vector uint8) and creates the header
std::vector< uint8_t > serialize() const override
Retrieves the serialized representation of the header.
CCSDS::ResultBool deserialize(const std::vector< uint8_t > &data) override
takes a buffer if data (vector uint8) and creates the header
CCSDS::ResultBool deserialize(const std::vector< uint8_t > &data) override
takes a buffer if data (vector uint8) and creates the header
std::vector< uint8_t > serialize() const override
Retrieves the serialized representation of the header.
@ INVALID_SECONDARY_HEADER_DATA
Secondary header data is invalid.