nl::Weave::Profiles::DataManagement_Current::StatusList::Parser

Summary

Inheritance

Inherits from: nl::Weave::Profiles::DataManagement_Current::ListParserBase

Public functions

CheckSchemaValidity(void) const
GetProfileIDAndStatusCode(uint32_t *const apProfileID, uint16_t *const apStatusCode)
Read the ProfileID and the StatusCode from the current StatusElement.

Public functions

CheckSchemaValidity

WEAVE_ERROR CheckSchemaValidity(
  void
) const 

GetProfileIDAndStatusCode

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

Read the ProfileID and the StatusCode from the current 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.