Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / zcl / data-model / silabs / relay-control.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2008,2020 Silicon Labs.
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 <configurator>
18   <cluster>
19     <name>Relay Control</name>
20     <domain>Ember</domain>
21     <description>Commands to turn on and off the stack's relay capabilities, and to determine whether or not relay is enabled.</description>
22     <code>0xC00D</code>
23     <define>RELAY_CONTROL_CLUSTER</define>
24     <client init="false" tick="false">true</client>
25     <server init="false" tick="false">true</server>
26     <command source="client" code="0x00" name="SetRelayState" optional="false">
27       <description>
28         Sets the on-off state of stack relay.
29       </description>
30       <arg name="isEnabled" type="BOOLEAN"/>
31       <arg name="magicNumber" type="INT32U"/>
32     </command>
33     <command source="client" code="0x01" name="GetRelayState" optional="false">
34       <description>
35         Client-to-server query that provides the on-off state of stack relay.
36       </description>
37     </command>
38     <command source="server" code="0x00" name="GetRelayStateResponse" optional="false" disableDefaultResponse="true">
39       <description>
40         Response to GetRelayState query.
41       </description>
42       <arg name="isEnabled" type="BOOLEAN"/>
43     </command>
44   </cluster>
45 </configurator>