发送反馈
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl:: Weave:: Profiles:: Heartbeat:: WeaveHeartbeatReceiver
#include <src/lib/profiles/heartbeat/WeaveHeartbeat.h>
Weave 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
如果广告交易平台管理员不为 null
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.
最后更新时间 (UTC):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"]],["最后更新时间 (UTC):2024-08-22。"],[],[]]