From 6030377dc90c0fe14946d9d6663a86a18b69ca2d Mon Sep 17 00:00:00 2001 From: yunhanw-google Date: Sun, 3 Sep 2023 20:45:54 -0700 Subject: [PATCH] update convertTlvTag function description (#29035) --- src/lib/support/jsontlv/JsonToTlv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/support/jsontlv/JsonToTlv.h b/src/lib/support/jsontlv/JsonToTlv.h index 54d7fb84188d01..287f0d7279f645 100644 --- a/src/lib/support/jsontlv/JsonToTlv.h +++ b/src/lib/support/jsontlv/JsonToTlv.h @@ -33,8 +33,8 @@ 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, + * Convert a uint64_t tagNumber to a TLV tag. When tagNumber is less than or equal to UINT8_MAX, + * the tag is encoded using ContextTag. When tagNumber is larger than UINT8_MAX and less than or equal to UINT32_MAX, * the tag is encoded using an implicit profile tag. */ CHIP_ERROR ConvertTlvTag(const uint64_t tagNumber, TLV::Tag & tag);