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