提供意見
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl:: Weave:: Profiles:: DataManagement_Current:: CommandSender:: SynchronizedTraitState
#include <src/lib/profiles/data-management/Current/CommandSender.h>
摘要
注意: 如果相關聯的 TraitDataSink 就達到指令的所有副作用,此類別可協助通知。CommandSender 類別會負責填入要求傳輸及回應接收時必要的必要資訊。應用程式可在以下兩種形式之一中使用此功能:a) 在資料接收器中擁有有效的資料版本,然後才開始傳送指令 b) 發送指令前從未具備有效的資料版本。
所謂先前的案例,就是在傳送指令之前的接收器版本,以便準確推論接收器是否已擷取。
在第二種情況下,缺少先前的版本會導致邏輯推斷同步,進而還原為以視窗為基礎的經驗法則。這是因為出現隨機資料版本,可能會導致發布者接收到的資料版本,跳轉至較低的 post 指令接收時間。
公用函式
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.
上次更新時間: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":"其他"
}]
想進一步說明嗎?