nl :: نسج:: مظهر:: وصف الجهاز:: DeviceDescriptionServer
#include <src/lib/profiles/device-description/DeviceDescription.h>
كائن الخادم للاستجابة لطلبات وصف الجهاز.
ملخص
ميراث
يرث من: NL :: :: نسج WeaveServerBaseتوجيه الفئات الفرعية المعروفة: NL :: :: نسج DeviceLayer :: :: الداخلية DeviceDescriptionServer
البنائين والمدمرين | |
---|---|
DeviceDescriptionServer (void) |
الأنواع العامة | |
---|---|
HandleIdentifyRequestFunct )(void *appState, uint64_t nodeId, const IPAddress &nodeAddr, const IdentifyRequestMessage &reqMsg, bool &sendResp, IdentifyResponseMessage &respMsg) | typedefvoid(* |
السمات العامة | |
---|---|
AppState | void * مؤشر حالة محدد من قبل التطبيق لتوفير سياق لعمليات الاسترجاعات. |
OnIdentifyRequestReceived | HandleIdentifyRequestFunct هذه الوظيفة مسؤولة عن معالجة رسائل IdentityRequest. |
الوظائف العامة | |
---|---|
Init ( WeaveExchangeManager *exchangeMgr) | قم بتهيئة حالة خادم وصف الجهاز وقم بالتسجيل لتلقي رسائل وصف الجهاز. |
Shutdown (void) | قم بإيقاف تشغيل خادم وصف الجهاز. |
الأنواع العامة
HandIdentifyRequestFunct
void(* HandleIdentifyRequestFunct)(void *appState, uint64_t nodeId, const IPAddress &nodeAddr, const IdentifyRequestMessage &reqMsg, bool &sendResp, IdentifyResponseMessage &respMsg)
السمات العامة
AppState
void * AppState
مؤشر حالة محدد من قبل التطبيق لتوفير سياق لعمليات الاسترجاعات.
تم استلام OnIdentifyRequest
HandleIdentifyRequestFunct OnIdentifyRequestReceived
هذه الوظيفة مسؤولة عن معالجة رسائل IdentityRequest.
تفاصيل | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
المعلمات |
|
الوظائف العامة
DeviceDescriptionServer
DeviceDescriptionServer( void )
فيه
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
قم بتهيئة حالة خادم وصف الجهاز وقم بالتسجيل لتلقي رسائل وصف الجهاز.
param [في] exchangeMgr مؤشر إلى Weave Exchange Manager.
تفاصيل | |||||||
---|---|---|---|---|---|---|---|
إرجاع القيم |
|
اغلق
WEAVE_ERROR Shutdown( 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. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2019-09-14 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":"غير ذلك"
}]