Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google committed Aug 18, 2023
1 parent 512f631 commit 3cda21c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/support/jsontlv/JsonToTlv.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,10 @@ CHIP_ERROR JsonToTlv(const std::string & jsonString, MutableByteSpan & tlv);
CHIP_ERROR JsonToTlv(const std::string & jsonString, TLV::TLVWriter & writer);

/*
/*
* Convert a uint64_t tagNumber to a TLV tag. When tagNumber is less than UINT8_MAX,
* the tag is encoded using ContextTag. When tagNumber is less than UINT32_MAX,
* the tag is encoded using an implicit profile tag.
*/
* 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
*/
CHIP_ERROR ConvertTlvTag(const uint64_t tagNumber, TLV::Tag & tag);

} // namespace chip

0 comments on commit 3cda21c

Please sign in to comment.