ส่งความคิดเห็น
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
nl:: Weave:: Profiles:: Heartbeat:: WeaveHeartbeatReceiver
#include <src/lib/profiles/heartbeat/WeaveHeartbeat.h>
คลาสตัวรับ ฮาร์ตบีต แบบ Weave
สรุป
การสืบทอด
รับค่าจาก
nl::Weave::WeaveServerBase
ประเภทสาธารณะ
OnHeartbeatReceivedHandler
void(* OnHeartbeatReceivedHandler)(const WeaveMessageInfo *aMsgInfo, uint8_t nodeState, WEAVE_ERROR err)
แอตทริบิวต์สาธารณะ
OnHeartbeatReceived
OnHeartbeatReceivedHandler OnHeartbeatReceived
ฟังก์ชันสาธารณะ
เริ่มต้น
WEAVE_ERROR Init(
WeaveExchangeManager *exchangeMgr
)
เริ่มต้นรีซีฟเวอร์ Weave Heartbeat และลงทะเบียนเพื่อรับข้อความ Weave Heartbeat
รายละเอียด
พารามิเตอร์
[in] exchangeMgr
ตัวชี้ไปยัง Weave Exchange Manager ของระบบ
แสดงผลค่า
WEAVE_ERROR_INCORRECT_STATE
หาก Exchange Manager ไม่มีข้อมูล
WEAVE_ERROR_TOO_MANY_UNSOLICITED_MESSAGE_HANDLERS
หากมีการลงทะเบียนตัวแฮนเดิลข้อความมากเกินไปแล้ว
WEAVE_NO_ERROR
ความสำเร็จ
ปิดการทำงาน
WEAVE_ERROR Shutdown(
void
)
ปิดตัวรับ Heartbeat ของ Weave และยกเลิกการลงทะเบียนการรับข้อความ Weave Heartbeat
รายละเอียด
แสดงผลค่า
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.
อัปเดตล่าสุด 2023-12-01 UTC
[{
"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":"อื่นๆ"
}]
หากต้องการบอกให้เราทราบเพิ่มเติม