class StatusReport

Defined at line 60 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/status-report/StatusReportProfile.h

in-memory, a status report, at its most basic, is a Weave profile

ID and status code pair. then there's the option of chaining on

more status information as TLV.

Public Members

uint32_t mProfileId
uint16_t mStatusCode
WEAVE_ERROR mError
ReferencedTLVData mAdditionalInfo

Public Methods

void StatusReport ()
void ~StatusReport ()
WEAVE_ERROR init (uint32_t aProfileId, uint16_t aCode, ReferencedTLVData * aInfo)
WEAVE_ERROR init (WEAVE_ERROR aError)

this version of the intializer is provided as a convenience in

the case where we want to make a status report that reports an

internal error.

WEAVE_ERROR pack (PacketBuffer * aBuffer, uint32_t maxLen)
uint16_t packedLength ()
WEAVE_ERROR parse (PacketBuffer * aBuffer, StatusReport & aDestination)
bool operator== (const StatusReport & another)
bool success ()
WEAVE_ERROR StartMetaData (nl::Weave::TLV::TLVWriter & aWriter)

here are some static convenience methods for adding metadata

WEAVE_ERROR EndMetaData (nl::Weave::TLV::TLVWriter & aWriter)
WEAVE_ERROR AddErrorCode (nl::Weave::TLV::TLVWriter & aWriter, WEAVE_ERROR aError)