/** * @license * Copyright 2022-2026 Matter.js Authors * SPDX-License-Identifier: Apache-2.0 */ /*** THIS FILE IS GENERATED, DO NOT EDIT ***/ import { MatterDefinition } from "../MatterDefinition.js"; import { ClusterElement as Cluster, AttributeElement as Attribute, FieldElement as Field, DatatypeElement as Datatype } from "../../elements/index.js"; export const Descriptor = Cluster( { name: "Descriptor", id: 0x1d, classification: "endpoint" }, Attribute({ name: "ClusterRevision", id: 0xfffd, type: "ClusterRevision", default: 3 }), Attribute( { name: "FeatureMap", id: 0xfffc, type: "FeatureMap" }, Field({ name: "TAGLIST", conformance: "desc", constraint: "0", title: "TagList" }) ), Attribute( { name: "DeviceTypeList", id: 0x0, type: "list", access: "R V", conformance: "M", constraint: "min 1", quality: "F" }, Field({ name: "entry", type: "DeviceTypeStruct" }) ), Attribute( { name: "ServerList", id: 0x1, type: "list", access: "R V", conformance: "M", default: [], quality: "F" }, Field({ name: "entry", type: "cluster-id" }) ), Attribute( { name: "ClientList", id: 0x2, type: "list", access: "R V", conformance: "M", default: [], quality: "F" }, Field({ name: "entry", type: "cluster-id" }) ), Attribute( { name: "PartsList", id: 0x3, type: "list", access: "R V", conformance: "M", default: [] }, Field({ name: "entry", type: "endpoint-no" }) ), Attribute( { name: "TagList", id: 0x4, type: "list", access: "R V", conformance: "TAGLIST", constraint: "1 to 6", quality: "F" }, Field({ name: "entry", type: "semtag" }) ), Attribute({ name: "EndpointUniqueId", id: 0x5, type: "string", access: "R V", conformance: "O", constraint: "max 32", quality: "F" }), Datatype( { name: "DeviceTypeStruct", type: "struct" }, Field({ name: "DeviceType", id: 0x0, type: "devtype-id", conformance: "M" }), Field({ name: "Revision", id: 0x1, type: "uint16", conformance: "M", constraint: "min 1" }) ) ); MatterDefinition.children.push(Descriptor);