blob: a1a0c082e8f6b85f35f5de2e0dd5587dbd419866 [file]
<?xml version="1.0"?>
<!--
Copyright (c) 2008,2020 Silicon Labs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<zap>
<deviceType>
<name>Bead-DeviceType-Name</name>
<domain>Bead-DeviceType-Domain</domain>
<typeName>Bead Device Type Name</typeName>
<zigbeeType>Coordinator</zigbeeType>
<profileId editable="false">0xBEEF</profileId>
<deviceId editable="false">0xDEAD</deviceId>
<clusters lockOthers="true">
<include client="false" server="true" clientLocked="true" serverLocked="true">bead color</include>
<include client="false" server="true" clientLocked="true" serverLocked="true">bead size</include>
</clusters>
</deviceType>
<domain name="Beads"/>
<!-- Use manufacturerCode to indicate that this is a manufacturer specific
cluster. -->
<cluster manufacturerCode="0xBEAD">
<name>Custom Bead</name>
<domain>Beads</domain>
<description>Example of a custom bead cluster</description>
<!-- Cluster Id must be within the mfg spec range 0xfc00 - 0xffff -->
<code>0xFCAA</code>
<define>BEAD_CLUSTER</define>
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<attribute side="server" code="0x0000" define="COLOR" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">bead color</attribute>
<attribute side="server" code="0x0001" define="SIZE" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">bead size</attribute>
<command source="client" code="0x00" name="Detach" optional="true">
<description>
Bead detaches from the necklace and falls off.
</description>
<arg name="detachmentDelay" type="INT8U"/>
</command>
</cluster>
</zap>