2021-12-03 15:37:49 +01:00
|
|
|
#ifndef FSFW_SRC_FSFW_CFDP_TLV_MESSAGETOUSERTLV_H_
|
|
|
|
#define FSFW_SRC_FSFW_CFDP_TLV_MESSAGETOUSERTLV_H_
|
|
|
|
|
2022-08-10 09:39:57 +02:00
|
|
|
#include <vector>
|
|
|
|
|
2021-12-03 15:37:49 +01:00
|
|
|
#include "Tlv.h"
|
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
class MessageToUserTlv : public cfdp::Tlv {
|
|
|
|
public:
|
|
|
|
MessageToUserTlv();
|
|
|
|
MessageToUserTlv(uint8_t* value, size_t size);
|
2023-07-24 10:06:45 +02:00
|
|
|
MessageToUserTlv(const uint8_t* value, size_t size);
|
2022-08-10 09:39:57 +02:00
|
|
|
explicit MessageToUserTlv(const std::vector<uint8_t>& data);
|
2022-02-02 10:29:30 +01:00
|
|
|
|
2023-07-25 16:16:35 +02:00
|
|
|
bool isReservedCfdpMessage(uint8_t& messageType, const uint8_t** msgDataStart,
|
|
|
|
size_t& msgLen) const;
|
2023-07-24 11:57:33 +02:00
|
|
|
|
2022-02-02 10:29:30 +01:00
|
|
|
private:
|
2021-12-03 15:37:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* FSFW_SRC_FSFW_CFDP_TLV_MESSAGETOUSERTLV_H_ */
|