12 static const PayloadType cPayloadType{
13 PayloadType::GenericNegativeAcknowledgement};
15 GenericNackType mNackCode;
18 void GetPayload(std::vector<uint8_t> &payload)
const override;
21 const std::vector<uint8_t> &payload,
22 uint32_t payloadLength)
override;
30 GenericNack(uint8_t protocolVersion, GenericNackType nackCode) noexcept;
Generic negative acknowledgement DoIP message.
Definition: generic_nack.h:10
GenericNackType GetNackCode() const noexcept
Get NACK code.
void GetPayload(std::vector< uint8_t > &payload) const override
Get message payload.
virtual bool TrySetPayload(const std::vector< uint8_t > &payload, uint32_t payloadLength) override
Try to set message payload.
DoIP generic message.
Definition: message.h:12