Skip to content

Commit 1750304

Browse files
bzbarsky-applepull[bot]
authored andcommitted
Rename ActionStatusEnum to ActionStateEnum. (#12691)
It's called ActionStateEnum in the spec.
1 parent dfa550d commit 1750304

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

src/app/zap-templates/zcl/data-model/chip/bridged-actions-cluster.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ limitations under the License.
3939
<item value="1" name="interrupted"/>
4040
</enum>
4141

42-
<enum name="ActionStatusEnum" type="ENUM8">
42+
<enum name="ActionStateEnum" type="ENUM8">
4343
<cluster code="0x0025"/>
4444
<item value="0" name="Inactive"/>
4545
<item value="1" name="Active"/>
@@ -72,7 +72,7 @@ limitations under the License.
7272
<item name="Type" type="ActionTypeEnum"/>
7373
<item name="EndpointListID" type="INT16U"/>
7474
<item name="SupportedCommands" type="INT16U"/>
75-
<item name="Status" type="ActionStatusEnum"/>
75+
<item name="Status" type="ActionStateEnum"/>
7676
</struct>
7777

7878
<struct name="EndpointListStruct">
@@ -176,14 +176,14 @@ limitations under the License.
176176
<description>This event SHALL be generated when there is a change in the Status of an ActionID.</description>
177177
<field id="0" name="ActionID" type="INT16U" />
178178
<field id="1" name="InvokeID" type="INT32U" />
179-
<field id="2" name="NewState" type="ActionStatusEnum" />
179+
<field id="2" name="NewState" type="ActionStateEnum" />
180180
</event>
181181

182182
<event side="server" code="0x01" priority="info" name="ActionFailed" optional="false">
183183
<description>This event SHALL be generated when there is some error which prevents the action from its normal planned execution.</description>
184184
<field id="0" name="ActionID" type="INT16U" />
185185
<field id="1" name="InvokeID" type="INT32U" />
186-
<field id="2" name="NewState" type="ActionStatusEnum" />
186+
<field id="2" name="NewState" type="ActionStateEnum" />
187187
<field id="3" name="Error" type="ActionErrorEnum" />
188188
</event>
189189

src/controller/java/zap-generated/CHIPReadCallbacks.cpp

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/controller/python/chip/clusters/Objects.py

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-objects.h

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)