nl::Weave::Profiles::Time::TimeChangeNotification

#include <src/lib/profiles/time/WeaveTime.h>

codec for Time Change Notification message

Summary

Constructors and Destructors

TimeChangeNotification(void)
default constructor shall be used with Decode, as all members will be initialized through decoding

Public functions

Encode(PacketBuffer *const aMsg)
encode time change notification into an PacketBuffer.

Public static functions

Decode(TimeChangeNotification *const aObject, PacketBuffer *const aMsg)
decode time change notification from an PacketBuffer.

Public functions

Encode

WEAVE_ERROR Encode(
  PacketBuffer *const aMsg
)

encode time change notification into an PacketBuffer.

Details
Parameters
[out] aMsg
A pointer to the PacketBuffer
Returns
WEAVE_NO_ERROR on success

TimeChangeNotification

 TimeChangeNotification(
  void
)

default constructor shall be used with Decode, as all members will be initialized through decoding

Public static functions

Decode

WEAVE_ERROR Decode(
  TimeChangeNotification *const aObject,
  PacketBuffer *const aMsg
)

decode time change notification from an PacketBuffer.

Details
Parameters
[out] aObject
A pointer to the decoded object
[in] aMsg
A pointer to the PacketBuffer
Returns
WEAVE_NO_ERROR on success