Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::Profiles::DeviceDescription::TextDescriptorReader

Summary

Constructors and Destructors

TextDescriptorReader(const char *val, uint32_t valLen)

Public attributes

Key
char
Version
char

Public functions

Next()
ReadDate(uint16_t & year, uint8_t & month, uint8_t & day)
ReadHex(uint16_t & val)
ReadHex(uint8_t *buf, uint32_t bufLen)
ReadString(char *buf, uint32_t bufSize)

Public attributes

Key

char Key

Version

char Version

Public functions

Next

WEAVE_ERROR Next()

ReadDate

WEAVE_ERROR ReadDate(
  uint16_t & year,
  uint8_t & month,
  uint8_t & day
)

ReadHex

WEAVE_ERROR ReadHex(
  uint16_t & val
)

ReadHex

WEAVE_ERROR ReadHex(
  uint8_t *buf,
  uint32_t bufLen
)

ReadString

WEAVE_ERROR ReadString(
  char *buf,
  uint32_t bufSize
)

TextDescriptorReader

 TextDescriptorReader(
  const char *val,
  uint32_t valLen
)