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

nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams

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

Encapsulates arguments to be passed into SendCommand().

Summary

At minimum, ResourceId, ProfileId, and CommandType should be set before the struct is passed to SendCommand(). InstanceId, Flags, and VersionRange will default to 0 if not set.

Public attributes

ActionTimeMicroSecond
uint64_t
CommandType
uint32_t
ExpiryTimeMicroSecond
uint64_t
Flags
uint8_t
InitiationTimeMicroSecond
uint64_t
InstanceId
uint64_t
MustBeVersion
uint64_t
ProfileId
uint32_t
ResourceId
ResponseTimeoutMsOverride
uint32_t
Sink
VersionRange

Public functions

PopulateTraitPath(TraitCatalogBase< TraitDataSink > *aCatalog, TraitDataSink *aSink, uint32_t aCommandType)

Public attributes

ActionTimeMicroSecond

uint64_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::ActionTimeMicroSecond

CommandType

uint32_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::CommandType

ExpiryTimeMicroSecond

uint64_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::ExpiryTimeMicroSecond

Flags

uint8_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::Flags

InitiationTimeMicroSecond

uint64_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::InitiationTimeMicroSecond

InstanceId

uint64_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::InstanceId

MustBeVersion

uint64_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::MustBeVersion

ProfileId

uint32_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::ProfileId

ResourceId

ResourceIdentifier nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::ResourceId

ResponseTimeoutMsOverride

uint32_t nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::ResponseTimeoutMsOverride

Sink

TraitDataSink * nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::Sink

VersionRange

SchemaVersionRange nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::VersionRange

Public functions

PopulateTraitPath

WEAVE_ERROR nl::Weave::Profiles::DataManagement_Current::CommandSender::SendParams::PopulateTraitPath(
  TraitCatalogBase< TraitDataSink > *aCatalog,
  TraitDataSink *aSink,
  uint32_t aCommandType
)