forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Groups.xml
125 lines (121 loc) · 4.55 KB
/
Groups.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0"?>
<!--
Zigbee Alliance owns the copyright to the text and content displayed or
included in this document (including in PDF, XML files and other formats) in
all forms of media, which copyright is protected by the copyright laws of the
United States and by international treaties. Full text of licensing terms
applicable to this document can be found in the LICENSE.md file.
-->
<zcl:cluster xmlns:zcl="http://zigbee.org/zcl/clusters"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:type="http://zigbee.org/zcl/types"
xmlns:xi="http://www.w3.org/2001/XInclude" xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd" id="0004" revision="3" name="Groups">
<classification role="utility" picsCode="G" />
<type:type short="GGroupStatus" name="GGroupStatus" id="20" inheritsFrom="zclStatus">
<restriction>
<type:enumeration value="00" name="SUCCESS" />
<type:enumeration value="87" name="INVALID_VALUE" />
<type:enumeration value="89" name="INSUFFICIENT_SPACE"/>
</restriction>
</type:type>
<type:type short="GViewGroupRspStatus" name="GViewGroupRspStatus" id="20" inheritsFrom="zclStatus">
<restriction>
<type:enumeration value="00" name="SUCCESS" />
<type:enumeration value="87" name="INVALID_VALUE" />
<type:enumeration value="8b" name="NOT_FOUND" />
</restriction>
</type:type>
<type:type short="GGroupId" name="GGroupId" id="21" inheritsFrom="uint16">
<restriction>
<type:minInclusive value="1"/>
<type:maxInclusive value="65527"/>
</restriction>
</type:type>
<server>
<attributes>
<attribute id="0000" name="NameSupport" type="map8" required="true">
<bitmap>
<element name="Supported" type="bool" mask="80" shiftRight="7" />
</bitmap>
</attribute>
</attributes>
<commands>
<command id="00" name="AddGroup" required="true">
<fields>
<field name="GroupId" type="GGroupId" />
<field name="GroupName" type="string" />
</fields>
<tag ref="AddressAssignmentMode" />
<tag ref="MulticastIPv6Address" />
<tag ref="GroupPort" />
</command>
<command id="01" name="ViewGroup" required="true">
<fields>
<field name="GroupId" type="GGroupId" />
</fields>
</command>
<command id="02" name="GetGroupMembership" required="true">
<fields>
<field name="GroupList" type="GGroupId" array="true" />
</fields>
</command>
<command id="03" name="RemoveGroup" required="true">
<fields>
<field name="GroupId" type="GGroupId" />
</fields>
</command>
<command id="04" name="RemoveAllGroups" required="true" />
<command id="05" name="AddGroupIfIdentifying" required="true">
<fields>
<field name="GroupId" type="GGroupId" />
<field name="GroupName" type="string" />
</fields>
<tag ref="AddressAssignmentMode" />
<tag ref="MulticastIPv6Address" />
<tag ref="GroupPort" />
</command>
</commands>
</server>
<client>
<commands>
<command id="00" name="AddGroupResponse" required="true">
<fields>
<field name="Status" type="GGroupStatus" />
<field name="GroupId" type="GGroupId" />
</fields>
</command>
<command id="01" name="ViewGroupResponse" required="true">
<fields>
<field name="Status" type="GViewGroupRspStatus" />
<field name="GroupId" type="GGroupId" />
<field name="GroupName" type="string" />
</fields>
<tag ref="AddressAssignmentMode" />
<tag ref="MulticastIPv6Address" />
<tag ref="GroupPort" />
</command>
<command id="02" name="GetGroupMembershipResponse" required="true">
<fields>
<field name="Capacity" type="uint8" />
<field name="GroupList" type="GGroupId" array="true" />
</fields>
</command>
<command id="03" name="RemoveGroupResponse" required="true">
<fields>
<field name="Status" type="GViewGroupRspStatus" />
<field name="GroupId" type="GGroupId" />
</fields>
</command>
</commands>
</client>
<tags>
<tag id="1" name="AddressAssignmentMode" type="uint8" />
<tag id="2" name="MulticastIPv6Address" type="octstr">
<restriction>
<type:minLength value="1" />
<type:maxLength value="16"/>
</restriction>
</tag>
<tag id="3" name="GroupPort" type="uint16" />
</tags>
</zcl:cluster>