nl::Weave::Profiles::DeviceDescription::TextDescriptorWriter

ملخّص

الشركات المصنّعة والمُصنّعة

TextDescriptorWriter(char *buf, uint32_t bufSize)

وظائف عامة

Finalize()
GetLengthWritten()
uint32_t
WriteDate(char fieldId, uint16_t year, uint8_t month, uint8_t day)
WriteHex(char fieldId, uint16_t val)
WriteHex(char fieldId, const uint8_t *val, uint32_t valLen)
WriteString(char fieldId, const char *val)
WriteVersion()

وظائف عامة

إكمال الإعداد

WEAVE_ERROR Finalize()

GetLengthWritten

uint32_t GetLengthWritten()

TextDescriptorWriter

 TextDescriptorWriter(
  char *buf,
  uint32_t bufSize
)

WriteDate

WEAVE_ERROR WriteDate(
  char fieldId,
  uint16_t year,
  uint8_t month,
  uint8_t day
)

WriteHex

WEAVE_ERROR WriteHex(
  char fieldId,
  uint16_t val
)

WriteHex

WEAVE_ERROR WriteHex(
  char fieldId,
  const uint8_t *val,
  uint32_t valLen
)

WriteString

WEAVE_ERROR WriteString(
  char fieldId,
  const char *val
)

WriteVersion

WEAVE_ERROR WriteVersion()