发送反馈
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl:: Weave:: Profiles:: DataManagement_Current:: CommandSender:: SynchronizedTraitState
#include <src/lib/profiles/data-management/Current/CommandSender.h>
摘要
注意 :此类有助于通知关联的 TraitDataSink 是否已经满足了命令的所有附带效应。CommandSender 类负责填写传输请求和接收响应时必需的信息。应用可以通过以下两种模式之一来使用此操作:a) 在开始发送命令之前,在数据接收器中具有有效的数据版本;b) 在开始发送命令之前,从没有有效的数据版本。
在前一种情况下,发送命令之前的接收器版本是已知的,这样可以准确地稍后推断接收器是否赶上来。
在后一种情况下,缺少先前版本会导致逻辑推断同步还原为基于窗口的启发法。这是由于随机数据版本的存在,可能会导致从发布商接收的数据版本跳转到接收命令后的数字版本。
公共函数
HasDataCaughtUp
bool HasDataCaughtUp(
void
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
最后更新时间 (UTC):2023-12-02。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
需要向我们提供更多信息?