Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / zcl / data-model / silabs / chip.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" spec="chip-0.7" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
19     <enum name="NetworkProvisioningError" type="ENUM8">
20         <item name="Success" value="0x0"/>
21         <item name="OutOfRange" value="0x1"/>
22         <item name="BoundsExceeded" value="0x2"/>
23         <item name="NetworkIDNotFound" value="0x3"/>
24         <item name="DuplicateNetworkID" value="0x4"/>
25         <item name="NetworkNotFound" value="0x5"/>
26         <item name="RegulatoryError" value="0x6"/>
27         <item name="AuthFailure" value="0x7"/>
28         <item name="UnsupportedSecurity" value="0x8"/>
29         <item name="OtherConnectionFailure" value="0x9"/>
30         <item name="IPV6Failed" value="0xa"/>
31         <item name="IPBindFailed" value="0xb"/>
32         <item name="Label9" value="0xc"/>
33         <item name="Label10" value="0xd"/>
34         <item name="Label11" value="0xe"/>
35         <item name="Label12" value="0xf"/>
36         <item name="Label13" value="0x10"/>
37         <item name="Label14" value="0x11"/>
38         <item name="Label15" value="0x12"/>
39         <item name="UnknownError" value="0x13"/>
40     </enum>
41     <bitmap name="ShadeClosureStatus" type="BITMAP8">
42         <field name="Unencrypted" mask="0x1"/>
43         <field name="WEP-PERSONAL" mask="0x2"/>
44         <field name="WPA-PERSONAL" mask="0x4"/>
45         <field name="WPA2-PERSONAL" mask="0x8"/>
46         <field name="WPA3-PERSONAL" mask="0x10"/>
47     </bitmap>
48     <struct name="WiFiInterfaceScanResult">
49         <item name="Security" type="BITMAP8"/>
50         <item name="SSID" type="OCTET_STRING"/>
51         <item name="BSSID" type="OCTET_STRING"/>
52         <item name="Channel" type="INT8U"/>
53         <item name="FrequencyBand" type="INT32U"/>
54     </struct>
55     <struct name="ThreadInterfaceScanResult">
56         <item name="DiscoveryResponse" type="OCTET_STRING"/>
57     </struct>
58     <cluster>
59         <name>Network Provisioning</name>
60         <domain>CHIP</domain>
61         <description>TODO</description>
62         <code>0x9999</code>
63         <define>NWPROV_CLUSTER</define>
64         <client tick="false" init="false">true</client>
65         <server tick="false" init="false">true</server>
66         <command source="client" code="0x01" name="ScanNetworks" optional="false" cli="chip nwprov scannetworks">
67             <description>TODO</description>
68             <arg name="SSID" type="OCTET_STRING"/>
69             <arg name="Breadcrumb" type="INT64U"/>
70             <arg name="TimeoutMs" type="INT32U"/>
71         </command>
72         <command source="client" code="0x02" name="ScanNetworksResp" optional="false" cli="chip nwprov scannetworksresponse">
73             <description>TODO</description>
74             <arg name="ErrorCode" type="INT8U"/>
75             <arg name="DebugText" type="CHAR_STRING"/>
76             <arg name="WiFiScanResults" type="WiFiInterfaceScanResult" array="true"/>
77             <arg name="ThreadScanResults" type="ThreadInterfaceScanResult" array="true"/>
78         </command>
79         <command source="client" code="0x03" name="AddWiFiNetwork" optional="false" cli="chip nwprov addwifinetwork">
80             <description>TODO</description>
81             <arg name="SSID" type="OCTET_STRING"/>
82             <arg name="Credentials" type="OCTET_STRING"/>
83             <arg name="Breadcrumb" type="INT64U"/>
84             <arg name="TimeoutMs" type="INT32U"/>
85         </command>
86         <command source="client" code="0x04" name="AddWiFiNetworkResp" optional="false" cli="chip nwprov addwifiresponse">
87             <description>TODO</description>
88             <arg name="ErrorCode" type="INT8U"/>
89             <arg name="DebugText" type="CHAR_STRING"/>
90         </command>
91         <command source="client" code="0x05" name="UpdateWiFiNetwork" optional="false" cli="chip nwprov updatewifinetwork">
92             <description>TODO</description>
93             <arg name="SSID" type="OCTET_STRING"/>
94             <arg name="Credentials" type="OCTET_STRING"/>
95             <arg name="Breadcrumb" type="INT64U"/>
96             <arg name="TimeoutMs" type="INT32U"/>
97         </command>
98         <command source="client" code="0x06" name="UpdateWiFiNetworkResp" optional="false" cli="chip nwprov updatewifiresponse">
99             <description>TODO</description>
100             <arg name="ErrorCode" type="INT8U"/>
101             <arg name="DebugText" type="CHAR_STRING"/>
102         </command>
103         <command source="client" code="0x07" name="AddThreadNetwork" optional="false" cli="chip nwprov addthreadnetwork">
104             <description>TODO</description>
105             <arg name="OperationalDataset" type="OCTET_STRING"/>
106             <arg name="Breadcrumb" type="INT64U"/>
107             <arg name="TimeoutMs" type="INT32U"/>
108         </command>
109         <command source="client" code="0x08" name="AddThreadNetworkResp" optional="false" cli="chip nwprov addthreadnetworkresponse">
110             <description>TODO</description>
111             <arg name="ErrorCode" type="INT8U"/>
112             <arg name="DebugText" type="CHAR_STRING"/>
113         </command>
114         <command source="client" code="0x09" name="UpdateThreadNetwork" optional="false" cli="chip nwprov updatethreadnetwork">
115             <description>TODO</description>
116             <arg name="OperationalDataset" type="OCTET_STRING"/>
117             <arg name="Breadcrumb" type="INT64U"/>
118             <arg name="TimeoutMs" type="INT32U"/>
119         </command>
120         <command source="client" code="0x0a" name="UpdateThreadNetworkResp" optional="false" cli="chip nwprov updatethreadnetworkresponse">
121             <description>TODO</description>
122             <arg name="ErrorCode" type="INT8U"/>
123             <arg name="DebugText" type="CHAR_STRING"/>
124         </command>
125         <command source="client" code="0x0f" name="RemoveNetwork" optional="false" cli="chip nwprov removenetwork">
126             <description>TODO</description>
127             <arg name="NetworkID" type="OCTET_STRING"/>
128             <arg name="Breadcrumb" type="INT64U"/>
129             <arg name="TimeoutMs" type="INT32U"/>
130         </command>
131         <command source="client" code="0x10" name="RemoveNetworkResp" optional="false" cli="chip nwprov removenetworkresponse">
132             <description>TODO</description>
133             <arg name="ErrorCode" type="INT8U"/>
134             <arg name="DebugText" type="CHAR_STRING"/>
135         </command>
136         <command source="client" code="0x11" name="EnableNetwork" optional="false" cli="chip nwprov enablenetwork">
137             <description>TODO</description>
138             <arg name="NetworkID" type="OCTET_STRING"/>
139             <arg name="Breadcrumb" type="INT64U"/>
140             <arg name="TimeoutMs" type="INT32U"/>
141         </command>
142         <command source="client" code="0x12" name="EnableNetworkResp" optional="false" cli="chip nwprov enablenetworkresponse">
143             <description>TODO</description>
144             <arg name="ErrorCode" type="INT8U"/>
145             <arg name="DebugText" type="CHAR_STRING"/>
146         </command>
147         <command source="client" code="0x13" name="DisableNetwork" optional="false" cli="chip nwprov disablenetwork">
148             <description>TODO</description>
149             <arg name="NetworkID" type="OCTET_STRING"/>
150             <arg name="Breadcrumb" type="INT64U"/>
151             <arg name="TimeoutMs" type="INT32U"/>
152         </command>
153         <command source="client" code="0x14" name="DisableNetworkResp" optional="false" cli="chip nwprov disablenetworkresponse">
154             <description>TODO</description>
155             <arg name="ErrorCode" type="INT8U"/>
156             <arg name="DebugText" type="CHAR_STRING"/>
157         </command>
158         <command source="client" code="0x15" name="TestNetwork" optional="false" cli="chip nwprov testnetwork">
159             <description>TODO</description>
160             <arg name="NetworkID" type="OCTET_STRING"/>
161             <arg name="Breadcrumb" type="INT64U"/>
162             <arg name="TimeoutMs" type="INT32U"/>
163         </command>
164         <command source="client" code="0x16" name="TestNetworkResp" optional="false" cli="chip nwprov testnetworkresponse">
165             <description>TODO</description>
166             <arg name="ErrorCode" type="INT8U"/>
167             <arg name="DebugText" type="CHAR_STRING"/>
168         </command>
169         <command source="client" code="0x17" name="GetLastNetworkProvisioningResult" optional="false" cli="chip nwprov getlastnetworkprovisioningresult">
170             <description>TODO</description>
171             <arg name="TimeoutMs" type="INT32U"/>
172         </command>
173     </cluster>
174 </configurator>