透過集合功能整理內容 你可以依據偏好儲存及分類內容。

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)

公開屬性

動作時間微秒

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

指令類型

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

到期時間 (微毫秒)

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

旗標

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

啟動時間 (微秒)

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

執行個體 ID

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

必用版本

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

設定檔編號

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

版本範圍

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
)