nl::Weave::Profiles::DeviceDescription::IdentifiRequestMessage

#include <src/lib/profiles/device-description/DeviceDescription.h>

「剖析要求訊息」的剖析形式。

總結

繼承

沿用來源: nl::Weave::Profiles::DeviceDescription::IdentifiDeviceCriteria

公開函式

Encode(PacketBuffer *msgBuf) const
將此 IdentifiRequestMessage 物件編碼為提供的 Inet 緩衝區。

公開的靜態函式

Decode(PacketBuffer *msgBuf, uint64_t msgDestNodeId, IdentifyRequestMessage & msg)
將識別要求訊息從 Inet 緩衝區解碼為所提供的 IdentifiRequestMessage 物件。

公開函式

編碼

WEAVE_ERROR Encode(
  PacketBuffer *msgBuf
) const 

將此 IdentifiRequestMessage 物件編碼為提供的 Inet 緩衝區。

詳細資料
參數
[in,out] msgBuf
指向 Inet 緩衝區的指標,用於辨識「識別要求」訊息。
傳回值
WEAVE_NO_ERROR
無條件

公開的靜態函式

解碼

WEAVE_ERROR Decode(
  PacketBuffer *msgBuf,
  uint64_t msgDestNodeId,
  IdentifyRequestMessage & msg
)

將識別要求訊息從 Inet 緩衝區解碼為所提供的 IdentifiRequestMessage 物件。

詳細資料
參數
[in] msgBuf
指向 Inet 緩衝區以解碼 辨別要求訊息的訊息。
[in] msgDestNodeId
要解碼訊息的目標節點 ID。
[in,out] msg
要填入的 IdentifiRequestMessage 參照。
傳回值
WEAVE_ERROR_INVALID_MESSAGE_LENGTH
如果提供的緩衝區長度無效。
WEAVE_NO_ERROR
成功。