Skip to content

Commit aec83ce

Browse files
Update XML using the Alchemy tool
1 parent 954af09 commit aec83ce

36 files changed

+4635
-316
lines changed

docs/zap_clusters.md

+1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Generally regenerate using one of:
131131
| 1296 | 0x510 | ContentAppObserver |
132132
| 2817 | 0xB01 | MeterIdentification |
133133
| 2820 | 0xB04 | ElectricalMeasurement |
134+
| 2822 | 0xB06 | MeterIdentification |
134135
| 4294048773 | 0xFFF1FC05 | UnitTesting |
135136
| 4294048774 | 0xFFF1FC06 | FaultInjection |
136137
| 4294048800 | 0xFFF1FC20 | SampleMei |

src/app/zap-templates/zcl/data-model/chip/meter-identification-cluster.xml

+22-6
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1111
See the License for the specific language governing permissions and
1212
limitations under the License.
1313
-->
14-
1514
<configurator>
1615
<domain name="Energy Management"/>
17-
1816
<enum name="MeterTypeEnum" type="enum8">
19-
<cluster code="0x0B01"/>
17+
<cluster code="0x0B06"/>
2018
<item name="Utility" value="0x00"/>
2119
<item name="Private" value="0x01"/>
2220
<item name="Generic" value="0x02"/>
2321
</enum>
2422

2523
<enum name="PowerThresholdSourceEnum" type="enum8">
26-
<cluster code="0x0B01"/>
24+
<cluster code="0x0B06"/>
2725
<item name="Contract" value="0x00"/>
2826
<item name="Regulator" value="0x01"/>
2927
<item name="Equipment" value="0x02"/>
@@ -37,13 +35,11 @@ limitations under the License.
3735
<client init="false" tick="false">true</client>
3836
<server init="false" tick="false">true</server>
3937
<description>This cluster provides attributes for determining advanced information about utility metering device.</description>
40-
4138
<features>
4239
<feature bit="0" code="PWRTHLD" name="PowerThreshold" summary="Supports information about power threshold">
4340
<provisionalConform/>
4441
</feature>
4542
</features>
46-
4743
<attribute code="0x0000" side="server" define="METER_TYPE" type="MeterTypeEnum" isNullable="true" writable="false">MeterType</attribute>
4844
<attribute code="0x0001" side="server" define="CUSTOMER_NAME" type="char_string" isNullable="true" writable="true" length="64">
4945
<access op="read" privilege="view"/>
@@ -56,4 +52,24 @@ limitations under the License.
5652
<attribute code="0x0005" side="server" define="POWER_THRESHOLD_SOURCE" type="PowerThresholdSourceEnum" isNullable="true">PowerThresholdSource</attribute>
5753
</cluster>
5854

55+
<cluster>
56+
<domain>Energy Management</domain>
57+
<name>Meter Identification</name>
58+
<code>0x0B06</code>
59+
<define>METER_IDENTIFICATION_CLUSTER</define>
60+
<description/>
61+
<client init="false" tick="false">true</client>
62+
<features>
63+
<feature bit="0" code="PWRTHLD" name="PowerThreshold" summary="Supports information about power threshold">
64+
<optionalConform/>
65+
</feature>
66+
</features>
67+
<server init="false" tick="false">true</server>
68+
<globalAttribute code="0xFFFD" side="either" value="1"/>
69+
<attribute code="0x0000" side="server" define="METER_TYPE" type="MeterTypeEnum" isNullable="true" min="0x00" max="0x02">MeterType</attribute>
70+
<attribute code="0x0001" side="server" define="UTILITY_NAME" type="char_string" isNullable="true" length="16">UtilityName</attribute>
71+
<attribute code="0x0002" side="server" define="POINT_OF_DELIVERY" type="char_string" isNullable="true" length="16">PointOfDelivery</attribute>
72+
<attribute code="0x0003" side="server" define="POWER_THRESHOLD" type="power_mw" isNullable="true" optional="true">PowerThreshold</attribute>
73+
<attribute code="0x0004" side="server" define="POWER_THRESHOLD_SOURCE" type="PowerThresholdSourceEnum" isNullable="true" min="0x00" max="0x02" optional="true">PowerThresholdSource</attribute>
74+
</cluster>
5975
</configurator>

0 commit comments

Comments
 (0)