提供意見
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl:: Weave:: Profiles:: Heartbeat:: WeaveHeartbeatReceiver
#include <src/lib/profiles/heartbeat/WeaveHeartbeat.h>
設計 Heartbeat 接收器類別。
摘要
繼承
沿用自:
nl::Weave::WeaveServerBase
公開類型
OnHeartbeatReceivedHandler
void ( * OnHeartbeatReceivedHandler )( const WeaveMessageInfo * aMsgInfo , uint8_t nodeState , WEAVE_ERROR err )
公開屬性
OnHeartbeatReceived
OnHeartbeatReceivedHandler OnHeartbeatReceived
公開函式
Init
WEAVE_ERROR Init(
WeaveExchangeManager *exchangeMgr
)
初始化 Weave Heartbeat 接收器,然後註冊即可接收 Weave Heartbeat 訊息。
詳細資料
參數
[in] exchangeMgr
指向系統 Weave Exchange Manager 的指標。
傳回值
WEAVE_ERROR_INCORRECT_STATE
如果廣告交易平台管理員並非空值
WEAVE_ERROR_TOO_MANY_UNSOLICITED_MESSAGE_HANDLERS
已註冊的訊息處理常式過多。
WEAVE_NO_ERROR
成功時。
WeaveHeartbeatReceiver
WeaveHeartbeatReceiver(
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.
上次更新時間:2024-08-22 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2024-08-22 (世界標準時間)。"],[],[]]