| <?xml version="1.0"?> |
| <!-- |
| Copyright (c) 2023 Project CHIP Authors |
| |
| 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="CHIP"/> |
| |
| <enum name="ModeTag" type="enum16"> |
| <cluster code="0x005E"/> |
| <item value="0x4000" name="Normal"/> |
| <item value="0x4001" name="Defrost"/> |
| </enum> |
| |
| <cluster apiMaturity="provisional"> |
| <domain>General</domain> |
| <name>Microwave Oven Mode</name> |
| <code>0x005E</code> |
| <define>MICROWAVE_OVEN_MODE_CLUSTER</define> |
| <client init="false" tick="false">true</client> |
| <server init="false" tick="false">true</server> |
| <description>Attributes and commands for selecting a mode from a list of supported options.</description> |
| <globalAttribute side="either" code="0xFFFD" value="1"/> |
| |
| <features> |
| <feature bit="0" code="DEPONOFF" name="OnOff" summary="Dependency with the OnOff cluster"> |
| <optionalConform/> |
| </feature> |
| </features> |
| |
| <!-- Base data types --> |
| <attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="array" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute> |
| <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute> |
| </cluster> |
| </configurator> |