diff --git a/src/controller/python/chip/tlv/__init__.py b/src/controller/python/chip/tlv/__init__.py index 6af218fdf73338..e6887dea3463b3 100644 --- a/src/controller/python/chip/tlv/__init__.py +++ b/src/controller/python/chip/tlv/__init__.py @@ -384,12 +384,14 @@ def _encodeControlAndTag(self, type, tag, lenOfLenOrVal=0): controlByte |= TLV_TAG_CONTROL_COMMON_PROFILE_4Bytes return struct.pack("> 16) & 0xFFFF + profileNum = (profile >> 0) & 0xFFFF if tagNum <= UINT16_MAX: controlByte |= TLV_TAG_CONTROL_FULLY_QUALIFIED_6Bytes - return struct.pack("