Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / zcl / target-navigator-cluster.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2021 Project CHIP Authors
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   <domain name="CHIP"/>
19   <cluster>
20     <domain>General</domain>
21     <name>Target Navigator</name>
22     <code>0x0505</code>
23     <define>TARGET_NAVIGATOR_CLUSTER</define>
24     <client init="false" tick="false">true</client>
25     <server init="false" tick="false">true</server>
26     <description>This cluster provides an interface for UX navigation within a set of targets on a device or endpoint.</description>
27
28     <attribute side="server" code="0x0000" define="TARGET_NAVIGATOR_LIST" type="OCTET_STRING" length="32" writable="false" optional="false">target navigator list</attribute>
29     <attribute side="server" code="0x0001" define="TARGET_NAVIGATOR_CURRENT_TARGET" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">current navigator target</attribute>
30
31     <command source="client" code="0x00" name="NavigateTarget" optional="false">
32       <description>Upon receipt, this SHALL navigation the UX to the target identified.</description>
33       <arg name="target" type="INT8U"/>
34       <arg name="data" type="CHAR_STRING"/>
35     </command>
36
37     <command source="server" code="0x00" name="NavigateTargetResponse" optional="false">
38       <description>This command SHALL be generated in response to NavigateTarget commands.</description>
39       <arg name="status" type="NavigateTargetStatus"/>
40       <arg name="data" type="CHAR_STRING"/>
41     </command>
42   </cluster>
43   
44   <enum name="NavigateTargetStatus" type="ENUM8">
45       <item name="Success" value="0x00"/>
46       <item name="AppNotAvailable" value="0x01"/>
47       <item name="SystemBusy" value="0x02"/>
48   </enum>
49
50   <struct name="NavigateTargetTargetInfo">
51       <item name="identifier" type="INT8U"/>
52       <item name="name" type="CHAR_STRING"/>
53   </struct>
54 </configurator>