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

Podsumowanie

Konstruktory i niszczyciele

TextDescriptorWriter(char *buf, uint32_t bufSize)

Funkcje publiczne

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()

Funkcje publiczne

Zakończ

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()