Google is committed to advancing racial equity for Black communities.
See how.
nl:: بافت:: پروفایل ها:: توضیحات دستگاه:: IdentifyResponseMessage
#include <src/lib/profiles/device-description/DeviceDescription.h>
فرم تجزیه شده یک پیام IdentifyResponse.
خلاصه
صفات عمومی |
---|
DeviceDesc | توصیفگر دستگاهی که دستگاه پاسخ دهنده را توصیف می کند. |
توابع عمومی |
---|
Encode (PacketBuffer *msgBuf) | |
صفات عمومی
توابع عمومی
رمزگذاری کنید
WEAVE_ERROR Encode(
PacketBuffer *msgBuf
)
این شی IdentifyResponseMessage را در بافر پیام ارائه شده رمز می کند.
جزئیات | مولفه های | [in,out] msgBuf | یک اشاره گر به بافر Inet برای نوشتن پیام Identify Response. |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | در مورد موفقیت | other | سایر کدهای خطای Weave یا پلتفرم خاص که نشان می دهد خطایی در جلوگیری از رمزگذاری IdentifyResponseMessage رخ داده است. |
|
توابع استاتیک عمومی
رمزگشایی
WEAVE_ERROR Decode(
PacketBuffer *msgBuf,
IdentifyResponseMessage & msg
)
یک پیام Identify Response را از بافر Inet در شیء ارائه شده IdentifyResponseMessage رمزگشایی می کند.
جزئیات | مولفه های | [in] msgBuf | یک اشاره گر به بافر Inet برای رمزگشایی پیام Identify Request از آن. | [out] msg | |
|
ارزش های بازگشتی | WEAVE_ERROR_WRONG_TLV_TYPE | اگر این توضیحات دستگاه TLV نیست. | WEAVE_ERROR_UNEXPECTED_TLV_ELEMENT | اگر بعد از Device Description با داده های 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. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2018-06-05 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":"غیره"
}]