Bump FSFW #31

Merged
muellerr merged 139 commits from bump-fsfw into develop 2023-12-18 13:16:28 +01:00
2 changed files with 15 additions and 1 deletions
Showing only changes of commit 98cbf38432 - Show all commits

View File

@ -3,3 +3,12 @@
[[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const { [[nodiscard]] bool cfdp::PutRequest::isMetadataOnly() const {
return !destNameSize.has_value() and !sourceNameSize.has_value(); return !destNameSize.has_value() and !sourceNameSize.has_value();
} }
ReturnValue_t cfdp::PutRequest::serialize(uint8_t **buffer, size_t *size, size_t maxSize,
SerializeIF::Endianness streamEndianness) const {
return returnvalue::OK;
}
ReturnValue_t cfdp::PutRequest::deSerialize(const uint8_t **buffer, size_t *size,
SerializeIF::Endianness streamEndianness) {
return returnvalue::OK;
}
size_t cfdp::PutRequest::getSerializedSize() const { return 0; }

View File

@ -9,7 +9,7 @@
namespace cfdp { namespace cfdp {
class PutRequest { class PutRequest: public SerializeIF {
public: public:
EntityId destId; EntityId destId;
std::optional<TransmissionMode> transmissionMode; std::optional<TransmissionMode> transmissionMode;
@ -21,6 +21,11 @@ class PutRequest {
std::vector<MessageToUserTlv> messagesToUser; std::vector<MessageToUserTlv> messagesToUser;
std::vector<FilestoreRequestTlv> fsRequest; std::vector<FilestoreRequestTlv> fsRequest;
[[nodiscard]] ReturnValue_t serialize(uint8_t **buffer, size_t *size, size_t maxSize,
Endianness streamEndianness) const override;
ReturnValue_t deSerialize(const uint8_t **buffer, size_t *size,
Endianness streamEndianness) override;
[[nodiscard]] size_t getSerializedSize() const override;
[[nodiscard]] bool isMetadataOnly() const; [[nodiscard]] bool isMetadataOnly() const;
}; };