Skip to content

Commit

Permalink
Update src/lib/support/jsontlv/JsonToTlv.h
Browse files Browse the repository at this point in the history
Co-authored-by: Yufeng Wang <[email protected]>
  • Loading branch information
yunhanw-google and yufengwangca authored Aug 18, 2023
1 parent d907e86 commit 8813d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/support/jsontlv/JsonToTlv.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ CHIP_ERROR JsonToTlv(const std::string & jsonString, MutableByteSpan & tlv);
CHIP_ERROR JsonToTlv(const std::string & jsonString, TLV::TLVWriter & writer);

/*
* Given a uint64_t tagNumber, transform it into a tlv tag. When tagNumber is less than UINT8_MAX, encode the tag using ContextTag, when tagNumber is
* less than uint32_t, encode the tag using an implicit profile tag.
*/
* Given a uint64_t tagNumber, and convert it a tlv tag. when tagNumber is less than UINT8_MAX, tag is encoded with ContextTag, when tagNumber is
* less than uint32_t, tag is encoded with implicit profile tag
*/
Expand Down

0 comments on commit 8813d79

Please sign in to comment.