blob: 91e17d8859b3178244fb657d8fa4fcdd7ff5262b [file] [log] [blame]
<?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.
-->
<configurator>
<domain name="ZLL" spec="zll-1.0-11-0037-10" dependsOn="zcl-1.0-07-5123-03">
</domain>
<enum name="EnhancedColorMode" type="ENUM8">
<item name="CurrentHueAndCurrentSaturation" value="0x00"/>
<item name="CurrentXAndCurrentY" value="0x01"/>
<item name="ColorTemperature" value="0x02"/>
<item name="EnhancedCurrentHueAndCurrentSaturation" value="0x03"/>
</enum>
<bitmap name="ColorCapabilities" type="BITMAP16">
<cluster code="0x0300"/>
<field name="HueSaturationSupported" mask="0x0001"/>
<field name="EnhancedHueSupported" mask="0x0002"/>
<field name="ColorLoopSupported" mask="0x0004"/>
<field name="XYAttributesSupported" mask="0x0008"/>
<field name="ColorTemperatureSupported" mask="0x0010"/>
</bitmap>
<bitmap name="ColorLoopUpdateFlags" type="BITMAP8">
<cluster code="0x0300"/>
<field name="UpdateAction" mask="0x01"/>
<field name="UpdateDirection" mask="0x02"/>
<field name="UpdateTime" mask="0x04"/>
<field name="UpdateStartHue" mask="0x08"/>
</bitmap>
<enum name="ColorLoopAction" type="ENUM8">
<cluster code="0x0300"/>
<item name="Deactivate" value="0x00"/>
<item name="ActivateFromColorLoopStartEnhancedHue" value="0x01"/>
<item name="ActivateFromEnhancedCurrentHue" value="0x02"/>
</enum>
<enum name="ColorLoopDirection" type="ENUM8">
<cluster code="0x0300"/>
<item name="DecrementHue" value="0x00"/>
<item name="IncrementHue" value="0x01"/>
</enum>
<clusterExtension code="0x0000">
<attribute side="server" code="0x4000" define="SW_BUILD_ID" type="CHAR_STRING" length="16" writable="false" default="" optional="true" introducedIn="zll-1.0-11-0037-10">sw build id</attribute>
</clusterExtension>
<clusterExtension code="0x0300">
<attribute side="server" code="0x4000" define="COLOR_CONTROL_ENHANCED_CURRENT_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">EnhancedCurrentHue</attribute>
<attribute side="server" code="0x4001" define="COLOR_CONTROL_ENHANCED_COLOR_MODE" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0x01">EnhancedColorMode</attribute>
<attribute side="server" code="0x4002" define="COLOR_CONTROL_COLOR_LOOP_ACTIVE" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopActive</attribute>
<attribute side="server" code="0x4003" define="COLOR_CONTROL_COLOR_LOOP_DIRECTION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopDirection</attribute>
<attribute side="server" code="0x4004" define="COLOR_CONTROL_COLOR_LOOP_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0019" optional="true">ColorLoopTime</attribute>
<attribute side="server" code="0x4005" define="COLOR_CONTROL_COLOR_LOOP_START_ENHANCED_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x2300" optional="true">ColorLoopStartEnhancedHue</attribute>
<attribute side="server" code="0x4006" define="COLOR_CONTROL_COLOR_LOOP_STORED_ENHANCED_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ColorLoopStoredEnhancedHue</attribute>
<attribute side="server" code="0x400A" define="COLOR_CONTROL_COLOR_CAPABILITIES" type="BITMAP16" min="0x0000" max="0x001F" writable="false" default="0x0000">ColorCapabilities</attribute>
<attribute side="server" code="0x400B" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIN" type="INT16U" min="0x0000" max="0xFEFF" writable="false" default="0x0000" optional="true">ColorTempPhysicalMinMireds</attribute>
<attribute side="server" code="0x400C" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MAX" type="INT16U" min="0x0000" max="0xFEFF" writable="false" default="0xFEFF" optional="true">ColorTempPhysicalMaxMireds</attribute>
<command source="client" code="0x40" name="EnhancedMoveToHue" optional="true" noDefaultImplementation="true" cli="zcl color-control emovetohue">
<description>
Command description for EnhancedMoveToHue
</description>
<arg name="EnhancedHue" type="INT16U"/>
<arg name="Direction" type="HueDirection"/>
<arg name="TransitionTime" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x41" name="EnhancedMoveHue" optional="true" noDefaultImplementation="true" cli="zcl color-control emovehue">
<description>
Command description for EnhancedMoveHue
</description>
<arg name="MoveMode" type="HueMoveMode"/>
<arg name="Rate" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x42" name="EnhancedStepHue" optional="true" noDefaultImplementation="true" cli="zcl color-control estephue">
<description>
Command description for EnhancedStepHue
</description>
<arg name="StepMode" type="HueStepMode"/>
<arg name="StepSize" type="INT16U"/>
<arg name="TransitionTime" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x43" name="EnhancedMoveToHueAndSaturation" optional="true" noDefaultImplementation="true" cli="zcl color-control emovetohueandsat">
<description>
Command description for EnhancedMoveToHueAndSaturation
</description>
<arg name="EnhancedHue" type="INT16U"/>
<arg name="Saturation" type="INT8U"/>
<arg name="TransitionTime" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x44" name="ColorLoopSet" optional="true" noDefaultImplementation="true" cli="zcl color-control loop">
<description>
Command description for ColorLoopSet
</description>
<arg name="UpdateFlags" type="ColorLoopUpdateFlags"/>
<arg name="Action" type="ColorLoopAction"/>
<arg name="Direction" type="ColorLoopDirection"/>
<arg name="Time" type="INT16U"/>
<arg name="StartHue" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x47" name="StopMoveStep" optional="true" noDefaultImplementation="true" cli="zcl color-control stopmovestep">
<description>
Command description for StopMoveStep
</description>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x4B" name="MoveColorTemperature" optional="true" noDefaultImplementation="true" cli="zcl color-control movecolortemp">
<description>
Command description for MoveColorTemperature
</description>
<arg name="MoveMode" type="HueMoveMode"/>
<arg name="Rate" type="INT16U"/>
<arg name="ColorTemperatureMinimumMireds" type="INT16U"/>
<arg name="ColorTemperatureMaximumMireds" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
<command source="client" code="0x4C" name="StepColorTemperature" optional="true" noDefaultImplementation="true" cli="zcl color-control stepcolortemp">
<description>
Command description for StepColorTemperature
</description>
<arg name="StepMode" type="HueStepMode"/>
<arg name="StepSize" type="INT16U"/>
<arg name="TransitionTime" type="INT16U"/>
<arg name="ColorTemperatureMinimumMireds" type="INT16U"/>
<arg name="ColorTemperatureMaximumMireds" type="INT16U"/>
<arg name="OptionsMask" type="BITMAP8"/>
<arg name="OptionsOverride" type="BITMAP8"/>
</command>
</clusterExtension>
</configurator>