ส่งความคิดเห็น
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
nl:: Weave:: Profiles:: DeviceDescription:: IdentifyResponseMessage
#include <src/lib/profiles/device-description/DeviceDescription.h>
รูปแบบที่แยกวิเคราะห์ของข้อความ IdentityResponse
สรุป
แอตทริบิวต์สาธารณะ
DeviceDesc
ข้อบ่งชี้อุปกรณ์ที่อธิบายอุปกรณ์ที่ตอบสนอง
ฟังก์ชันสาธารณะ
Encode (PacketBuffer *msgBuf)
แอตทริบิวต์สาธารณะ
ฟังก์ชันสาธารณะ
เข้ารหัส
WEAVE_ERROR Encode(
PacketBuffer *msgBuf
)
เข้ารหัสออบเจ็กต์ IdentifyResponseMessage นี้ในบัฟเฟอร์ข้อความที่ระบุ
รายละเอียด
พารามิเตอร์
[in,out] msgBuf
ตัวชี้ไปยังบัฟเฟอร์ Inet เพื่อเขียนข้อความระบุการตอบกลับ
แสดงผลค่า
WEAVE_NO_ERROR
ความสำเร็จ
other
รหัสข้อผิดพลาด Weave หรือรหัสข้อผิดพลาดเฉพาะแพลตฟอร์มอื่นๆ ที่ระบุว่าเกิดข้อผิดพลาดขึ้นทำให้ไม่สามารถเข้ารหัส
IdentifyResponseMessage
ฟังก์ชันแบบคงที่แบบสาธารณะ
Decode
WEAVE_ERROR Decode(
PacketBuffer *msgBuf,
IdentifyResponseMessage & msg
)
ถอดรหัสข้อความระบุการตอบกลับจากบัฟเฟอร์ Inet ลงในออบเจ็กต์ IdentifyResponseMessage ที่ให้ไว้
รายละเอียด
พารามิเตอร์
[in] msgBuf
ตัวชี้ไปยังบัฟเฟอร์ Inet เพื่อถอดรหัสข้อความคำขอระบุ
[out] msg
แสดงผลค่า
WEAVE_ERROR_WRONG_TLV_TYPE
หากไม่ใช่ "รายละเอียดอุปกรณ์"
TLV
WEAVE_ERROR_UNEXPECTED_TLV_ELEMENT
หากระบบพบข้อมูล
TLV เพิ่มเติมหลังจากคำอธิบายอุปกรณ์
WEAVE_NO_ERROR
ความสำเร็จ
other
รหัสข้อผิดพลาดอื่นๆ ของ Weave หรือรหัสข้อผิดพลาดเฉพาะแพลตฟอร์มซึ่งระบุว่าเกิดข้อผิดพลาดที่ขัดขวางการถอดรหัส
IdentifyResponseMessage
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":"อื่นๆ"
}]
หากต้องการบอกให้เราทราบเพิ่มเติม