Skip to content

Commit 555eed5

Browse files
authored
Updated a comment about the generation and use of the generic mode base cluster enums. (project-chip#29654)
1 parent c534070 commit 555eed5

File tree

1 file changed

+4
-24
lines changed

1 file changed

+4
-24
lines changed

src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml

+4-24
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,11 @@ limitations under the License.
1717
<configurator>
1818
<domain name="CHIP"/>
1919

20-
<!-- These are generic enums that should be defined in the ModeBase namespace.
21-
Due to the ModeBase cluster not having a clustre ID, these enems will need to be defined manually.
22-
These enems can be used once the zap generation tool supports aliased and derived clusters.
20+
<!--
21+
The generic enum values for the StatusCode and ModeTag enums are defined within the ModeBase namespace
22+
in the mode-base-server source code. See mode-base-cluster-objects.h.
23+
This is because zap does not currently support generating code for clusters that do not have a cluster ID.
2324
-->
24-
<!-- <enum name="StatusCode" type="ENUM8">-->
25-
<!-- <cluster code="0x..."/>-->
26-
<!-- <item value="0x0" name="Success"/>-->
27-
<!-- <item value="0x1" name="UnsupportedMode"/>-->
28-
<!-- <item value="0x2" name="GenericFailure"/>-->
29-
<!-- <item value="0x3" name="InvalidInMode"/>-->
30-
<!-- </enum>-->
31-
32-
<!-- <enum name="ModeTag" type="ENUM16">-->
33-
<!-- <cluster code="0x..."/>-->
34-
<!-- <item value="0x0" name="Auto"/>-->
35-
<!-- <item value="0x1" name="Quick"/>-->
36-
<!-- <item value="0x2" name="Quiet"/>-->
37-
<!-- <item value="0x3" name="LowNoise"/>-->
38-
<!-- <item value="0x4" name="LowEnergy"/>-->
39-
<!-- <item value="0x5" name="Vacation"/>-->
40-
<!-- <item value="0x6" name="Min"/>-->
41-
<!-- <item value="0x7" name="Max"/>-->
42-
<!-- <item value="0x8" name="Night"/>-->
43-
<!-- <item value="0x9" name="Day"/>-->
44-
<!-- </enum>-->
4525

4626
<struct name="ModeTagStruct">
4727
<cluster code="0x0051"/>

0 commit comments

Comments
 (0)