nl::Weave::Profiles::DataManagement_Current::StatusElement::Parser

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

Parser-Definition für WDM-Statuselemente.

Zusammenfassung

Übernahme

Übernimmt von: nl::Weave::Profiles::DataManagement_Current::ParserBase

Öffentliche Funktionen

CheckSchemaValidity(void) const
CheckSchemaValidityCurrent(void) const
CheckSchemaValidityDeprecated(void) const
GetProfileIDAndStatusCode(uint32_t *apProfileID, uint16_t *aStatusCode) const
Die ProfileID und den Statuscode aus StatusElement lesen.
Init(const nl::Weave::TLV::TLVReader & aReader)

Öffentliche Funktionen

CheckSchemaValidity

WEAVE_ERROR CheckSchemaValidity(
  void
) const 

CheckSchemaValidityCurrent

WEAVE_ERROR CheckSchemaValidityCurrent(
  void
) const 

CheckSchemaValidityDeprecated

WEAVE_ERROR CheckSchemaValidityDeprecated(
  void
) const 

GetProfileIDAndStatusCode

WEAVE_ERROR GetProfileIDAndStatusCode(
  uint32_t *apProfileID,
  uint16_t *aStatusCode
) const 

Die ProfileID und den Statuscode aus StatusElement lesen.

Details
Parameter
[out] apProfileID
Zeiger auf den Speicher für die ProfileID
[out] apStatusCode
Zeiger auf den Speicher für den Statuscode
Rückgabe
WEAVE_ERROR-Codes, die von Weave::TLV-Objekten zurückgegeben werden. WEAVE_END_OF_TLV, wenn eines der Elemente fehlt. WEAVE_ERROR_WRONG_TLV_TYPE, wenn die Elemente vom falschen Typ sind

Init

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