nl::Weave::Profiles::StatusReporting::StatusReport

Summary

Inheritance

Direct Known Subclasses:
  nl::Weave::Profiles::BDX_Current::ReceiveReject
  nl::Weave::Profiles::BDX_Current::SendReject
  nl::Weave::Profiles::BDX_Current::TransferError
  nl::Weave::Profiles::BDX_Development::ReceiveReject
  nl::Weave::Profiles::BDX_Development::SendReject
  nl::Weave::Profiles::BDX_Development::TransferError

Constructors and Destructors

StatusReport(void)
~StatusReport(void)

Public attributes

mAdditionalInfo
mError
mProfileId
uint32_t
mStatusCode
uint16_t

Public functions

init(uint32_t aProfileId, uint16_t aCode, ReferencedTLVData *aInfo)
init(WEAVE_ERROR aError)
operator==(const StatusReport & another) const
bool
pack(PacketBuffer *aBuffer)
packedLength(void)
uint16_t
success(void)
bool

Public static functions

AddErrorCode(nl::Weave::TLV::TLVWriter & aWriter, WEAVE_ERROR aError)
EndMetaData(nl::Weave::TLV::TLVWriter & aWriter)
StartMetaData(nl::Weave::TLV::TLVWriter & aWriter)
parse(PacketBuffer *aBuffer, StatusReport & aDestination)

Public attributes

mAdditionalInfo

ReferencedTLVData mAdditionalInfo

mError

WEAVE_ERROR mError

mProfileId

uint32_t mProfileId

mStatusCode

uint16_t mStatusCode

Public functions

StatusReport

 StatusReport(
  void
)

init

WEAVE_ERROR init(
  uint32_t aProfileId,
  uint16_t aCode,
  ReferencedTLVData *aInfo
)

init

WEAVE_ERROR init(
  WEAVE_ERROR aError
)

operator==

bool operator==(
  const StatusReport & another
) const 

pack

WEAVE_ERROR pack(
  PacketBuffer *aBuffer
)

packedLength

uint16_t packedLength(
  void
)

success

bool success(
  void
)

~StatusReport

 ~StatusReport(
  void
)

Public static functions

AddErrorCode

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

EndMetaData

WEAVE_ERROR EndMetaData(
  nl::Weave::TLV::TLVWriter & aWriter
)

StartMetaData

WEAVE_ERROR StartMetaData(
  nl::Weave::TLV::TLVWriter & aWriter
)

parse

WEAVE_ERROR parse(
  PacketBuffer *aBuffer,
  StatusReport & aDestination
)