Google is committed to advancing racial equity for Black communities.
See how.
Stay organized with collections
Save and categorize content based on your preferences.
nl::Weave::Profiles::DeviceDescription::IdentifyResponseMessage
#include <src/lib/profiles/device-description/DeviceDescription.h>
Parsed form of an IdentifyResponse Message.
Summary
Public attributes
|
DeviceDesc
|
A device descriptor describing the responding device.
|
Public functions
|
Encode(PacketBuffer *msgBuf)
|
|
Public attributes
Public functions
Encode
WEAVE_ERROR Encode(
PacketBuffer *msgBuf
)
Encodes this IdentifyResponseMessage object into the provided message buffer.
Details |
Parameters |
[in,out] msgBuf
|
A pointer to the Inet buffer to write the Identify Response message to.
|
|
Return Values |
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the encoding of the IdentifyResponseMessage.
|
|
Public static functions
Decode
WEAVE_ERROR Decode(
PacketBuffer *msgBuf,
IdentifyResponseMessage & msg
)
Decodes an Identify Response message from an Inet buffer into the provided IdentifyResponseMessage object.
Details |
Parameters |
[in] msgBuf
|
A pointer to the Inet buffer to decode the Identify Request message from.
|
[out] msg
|
|
|
Return Values |
WEAVE_ERROR_WRONG_TLV_TYPE
|
If this is not Device Description TLV.
|
WEAVE_ERROR_UNEXPECTED_TLV_ELEMENT
|
If more TLV data is encountered after the Device Description.
|
WEAVE_NO_ERROR
|
On success.
|
other
|
Other Weave or platform-specific error codes indicating that an error occurred preventing the decoding of the 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":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]