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

摘要

构造函数和析构函数

TextDescriptorReader(const char *val, uint32_t valLen)

公共属性

Key
char
Version
char

公共函数

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)

公共属性

char Key

版本

char Version

公共函数

下一步

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
)