@@ -17,16 +17,7 @@ limitations under the License.
17
17
<configurator >
18
18
<domain name =" CHIP" />
19
19
20
- <!-- Enum definitions for structures-->
21
- <enum name =" OperationalStatusEnum" type =" enum8" >
22
- <cluster code =" 0x0150" />
23
- <item value =" 0x00" name =" Pending" />
24
- <item value =" 0x01" name =" Operating" />
25
- <item value =" 0x02" name =" Skipped" />
26
- <item value =" 0x03" name =" Completed" />
27
- </enum >
28
-
29
- <!-- Data types -->
20
+ Data types
30
21
<struct name =" LocationInfoStruct" >
31
22
<cluster code =" 0x0150" />
32
23
<item name =" LocationInfo" type =" HomeLocationStruct" optional =" false" isNullable =" true" />
@@ -48,6 +39,14 @@ limitations under the License.
48
39
<item name =" LocationInfo" type =" LocationInfoStruct" optional =" false" isNullable =" false" />
49
40
</struct >
50
41
42
+ <enum name =" OperationalStatusEnum" type =" enum8" >
43
+ <cluster code =" 0x0150" />
44
+ <item value =" 0x00" name =" Pending" />
45
+ <item value =" 0x01" name =" Operating" />
46
+ <item value =" 0x02" name =" Skipped" />
47
+ <item value =" 0x03" name =" Completed" />
48
+ </enum >
49
+
51
50
<struct name =" ProgressStruct" >
52
51
<cluster code =" 0x0150" />
53
52
<item name =" LocationID" type =" int32u" optional =" false" />
@@ -56,7 +55,6 @@ limitations under the License.
56
55
<item name =" EstimatedTime" type =" elapsed_s" optional =" true" isNullable =" true" />
57
56
</struct >
58
57
59
- <!-- Enum definitions for select locations command response-->
60
58
<enum name =" SelectLocationsStatus" type =" enum8" >
61
59
<cluster code =" 0x0150" />
62
60
<item value =" 0x00" name =" Success" />
@@ -66,15 +64,13 @@ limitations under the License.
66
64
<item value =" 0x04" name =" InvalidSet" />
67
65
</enum >
68
66
69
- <!-- Enum definitions for skip location command response-->
70
67
<enum name =" SkipCurrentLocationStatus" type =" enum8" >
71
68
<cluster code =" 0x0150" />
72
69
<item value =" 0x00" name =" Success" />
73
70
<item value =" 0x01" name =" InvalidLocationList" />
74
71
<item value =" 0x02" name =" InvalidInMode" />
75
72
</enum >
76
73
77
-
78
74
<cluster >
79
75
<domain >General</domain >
80
76
<name >Service Area</name >
@@ -88,7 +84,8 @@ limitations under the License.
88
84
</feature >
89
85
<feature bit =" 1" code =" SELRUN" name =" SelectWhileRunning" summary =" The device allows changing the selected locations while running" >
90
86
<optionalConform />
91
- </feature >
87
+ </feature >
88
+ </features >
92
89
93
90
<!-- Attributes -->
94
91
<attribute side =" server" code =" 0x0000" define =" SupportedLocations" type =" array" entryType =" LocationStruct" writable =" false" isNullable =" false" optional =" false" >SupportedLocations</attribute >
@@ -124,8 +121,8 @@ limitations under the License.
124
121
<description >
125
122
This command is sent by the device on receipt of the SelectLocations command.
126
123
</description >
127
- <arg name =" Status" type =" SkipCurrentStatus " optional =" false" />
128
- <arg name =" StatusText" type =" char_string" length =" 256" optional =" true" />
124
+ <arg name =" Status" type =" SkipCurrentLocationStatus " optional =" false" />
125
+ <arg name =" StatusText" type =" char_string" length =" 256" optional =" true" />
129
126
</command >
130
127
131
128
</cluster >
0 commit comments