Skip to content

Commit

Permalink
Add events to Bridged Actions cluster (#12609) (#12666)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjzander-signify authored and pull[bot] committed May 3, 2022
1 parent f4caa80 commit 1274704
Show file tree
Hide file tree
Showing 4 changed files with 225 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,20 @@ limitations under the License.
<arg name="Duration" type="INT32U"/>
</command>

<event side="server" code="0x00" priority="info" name="StateChanged" optional="false">
<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" />
</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="3" name="Error" type="ActionErrorEnum" />
</event>

</cluster>
</configurator>
39 changes: 39 additions & 0 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 1274704

Please sign in to comment.