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

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

封装要传入 SendCommand() 中的参数。

摘要

在将结构体传递到 SendCommand() 之前,至少应设置 ResourceId、ProfileId 和 CommandType。如果未设置,InstanceId、Flags 和 VersionRange 将默认为 0。

公共属性

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

公共函数

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

公共属性

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

标志

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

接收器

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

VersionRange

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

公共函数

PopulateTraitPath

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