|
| 1 | +<?xml version="1.0"?> |
| 2 | +<!-- |
| 3 | +Copyright (c) 2025 Project CHIP Authors |
| 4 | +
|
| 5 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +you may not use this file except in compliance with the License. |
| 7 | +You may obtain a copy of the License at |
| 8 | +
|
| 9 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +
|
| 11 | +Unless required by applicable law or agreed to in writing, software |
| 12 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +See the License for the specific language governing permissions and |
| 15 | +limitations under the License. |
| 16 | +--> |
| 17 | +<!-- |
| 18 | +XML generated by Alchemy; DO NOT EDIT. |
| 19 | +Source: src/app_clusters/MeterIdentification.adoc |
| 20 | +Parameters: |
| 21 | +Git: |
| 22 | +--> |
| 23 | +<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd"> |
| 24 | + <domain name="General"/> |
| 25 | + <enum name="MeterTypeEnum" type="enum8"> |
| 26 | + <cluster code="0x0B06"/> |
| 27 | + <item name="Utility" value="0x00"/> |
| 28 | + <item name="Private" value="0x01"/> |
| 29 | + <item name="Generic" value="0x02"/> |
| 30 | + </enum> |
| 31 | + |
| 32 | + <enum name="PowerThresholdSourceEnum" type="enum8"> |
| 33 | + <cluster code="0x0B06"/> |
| 34 | + <item name="Contract" value="0x00"/> |
| 35 | + <item name="Regulator" value="0x01"/> |
| 36 | + <item name="Equipment" value="0x02"/> |
| 37 | + </enum> |
| 38 | + |
| 39 | + <struct name="PowerThresholdStruct" apiMaturity="provisional"> |
| 40 | + <cluster code="0x0B06"/> |
| 41 | + <item fieldId="0" name="PowerThreshold" type="int64s" optional="true"/> |
| 42 | + <item fieldId="1" name="ApparentPowerThreshold" type="int64s" optional="true"/> |
| 43 | + <item fieldId="2" name="PowerThresholdSource" type="PowerThresholdSourceEnum" isNullable="true" min="0x00" max="0x02"/> |
| 44 | + </struct> |
| 45 | + |
| 46 | + <cluster apiMaturity="provisional"> |
| 47 | + <domain>General</domain> |
| 48 | + <name>Meter Identification</name> |
| 49 | + <code>0x0B06</code> |
| 50 | + <define>METER_IDENTIFICATION_CLUSTER</define> |
| 51 | + <description>This field SHALL indicate the Power Threshold Information.</description> |
| 52 | + <client init="false" tick="false">true</client> |
| 53 | + <server init="false" tick="false">true</server> |
| 54 | + <globalAttribute code="0xFFFD" side="either" value="1"/> |
| 55 | + <attribute code="0x0000" side="server" define="METER_TYPE" type="MeterTypeEnum" isNullable="true" min="0x00" max="0x02">MeterType</attribute> |
| 56 | + <attribute code="0x0001" side="server" define="POINT_OF_DELIVERY" type="char_string" isNullable="true" length="64">PointOfDelivery</attribute> |
| 57 | + <attribute code="0x0002" side="server" define="METER_SERIAL_NUMBER" type="char_string" isNullable="true" length="64">MeterSerialNumber</attribute> |
| 58 | + <attribute code="0x0003" side="server" define="PROTOCOL_VERSION" type="char_string" isNullable="true" length="64" optional="true"> |
| 59 | + <description>ProtocolVersion</description> |
| 60 | + <optionalConform/> |
| 61 | + </attribute> |
| 62 | + <attribute code="0x0004" side="server" define="POWER_THRESHOLD" type="PowerThresholdStruct" isNullable="true" optional="true"> |
| 63 | + <description>PowerThreshold</description> |
| 64 | + <mandatoryConform> |
| 65 | + <feature name="PWRTHLD"/> |
| 66 | + </mandatoryConform> |
| 67 | + </attribute> |
| 68 | + <features> |
| 69 | + <feature bit="0" code="PWRTHLD" name="PowerThreshold" summary="Supports information about power threshold"> |
| 70 | + <optionalConform/> |
| 71 | + </feature> |
| 72 | + </features> |
| 73 | + </cluster> |
| 74 | +</configurator> |
0 commit comments