Google is committed to advancing racial equity for Black communities. See how.

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

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

WDM Status Element parser definition.

Summary

Inheritance

Inherits from: nl::Weave::Profiles::DataManagement_Current::ParserBase

Public functions

CheckSchemaValidity(void) const
CheckSchemaValidityCurrent(void) const
CheckSchemaValidityDeprecated(void) const
GetProfileIDAndStatusCode(uint32_t *apProfileID, uint16_t *aStatusCode) const
Read the ProfileID and the StatusCode from the StatusElement.
Init(const nl::Weave::TLV::TLVReader & aReader)

Public functions

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 

Read the ProfileID and the StatusCode from the StatusElement.

Details
Parameters
[out] apProfileID
Pointer to the storage for the ProfileID
[out] apStatusCode
Pointer to the storage for the StatusCode
Returns
WEAVE_ERROR codes returned by Weave::TLV objects. WEAVE_END_OF_TLV if either element is missing. WEAVE_ERROR_WRONG_TLV_TYPE if the elements are of the wrong type.

Init

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