class Parser

Defined at line 1399 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/MessageDef.h

WDM Custom Command Response parser definition

Public Methods

WEAVE_ERROR Init (const nl::Weave::TLV::TLVReader & aReader)

Initialize the parser object with TLVReader

Parameters

aReader [in] A pointer to a TLVReader, which should point to the beginning of this response
WEAVE_ERROR CheckSchemaValidity ()

Roughly verify the message is correctly formed

WEAVE_ERROR GetVersion (uint64_t *const apVersion)

Get the trait instance version in this response

Parameters

apVersion [out] A pointer to some variable to receive the version on success
WEAVE_ERROR GetReaderOnResponse (nl::Weave::TLV::TLVReader *const apReader)

Initialize a TLVReader to point to the beginning of the response component in this message

Parameters

apReader [out] A pointer to TLVReader, which will be initialized at the response TLV element on success