Skip to content

Commit

Permalink
Rename ActionStatusEnum to ActionStateEnum.
Browse files Browse the repository at this point in the history
It's called ActionStateEnum in the spec.
  • Loading branch information
bzbarsky-apple committed Dec 7, 2021
1 parent 051685b commit f9a8eb7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ limitations under the License.
<item value="1" name="interrupted"/>
</enum>

<enum name="ActionStatusEnum" type="ENUM8">
<enum name="ActionStateEnum" type="ENUM8">
<cluster code="0x0025"/>
<item value="0" name="Inactive"/>
<item value="1" name="Active"/>
Expand Down Expand Up @@ -72,7 +72,7 @@ limitations under the License.
<item name="Type" type="ActionTypeEnum"/>
<item name="EndpointListID" type="INT16U"/>
<item name="SupportedCommands" type="INT16U"/>
<item name="Status" type="ActionStatusEnum"/>
<item name="Status" type="ActionStateEnum"/>
</struct>

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/controller/java/zap-generated/CHIPReadCallbacks.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f9a8eb7

Please sign in to comment.