nl::Weave::Profiles::DataManagement_Current::CustomCommandResponse::Builder

#include <src/lib/profiles/data-management/Current/MessageDef.h>

WDM Custom Command Response encoder definition.

Summary

The response TLV element is not directly supported, as it does not have a fixed schema.

Inheritance

Inherits from: nl::Weave::Profiles::DataManagement_Current::BuilderBase

Public functions

EndOfResponse(void)
Mark the end of this message.
Init(nl::Weave::TLV::TLVWriter *const apWriter)
Initialize a CustomCommandResponse::Builder for writing into a TLV stream.
Version(const uint64_t aVersion)
Inject trait instance version into the TLV stream.

Public functions

EndOfResponse

CustomCommandResponse::Builder & EndOfResponse(
  void
)

Mark the end of this message.

Details
Returns
A reference to *this

Init

WEAVE_ERROR Init(
  nl::Weave::TLV::TLVWriter *const apWriter
)

Initialize a CustomCommandResponse::Builder for writing into a TLV stream.

Details
Parameters
[in] apWriter
A pointer to TLVWriter
Return Values
WEAVE_NO_ERROR
on success

Version

CustomCommandResponse::Builder & Version(
  const uint64_t aVersion
)

Inject trait instance version into the TLV stream.

Details
Parameters
[in] aVersion
Trait instance version after the command execution
Returns
A reference to *this