forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Alternate Oven Op State per Issue 8349 (project-chip#30645)
* Updating for issue 8349 * Updating regen * Attempting to fix CI failures * Attempting to regen again * Reverting changes back * Adding provisional * Attempting to fix CI issues with global attribute fix * Fixing regen and CI issues with missing zcl addition * Fixing zcl with test file --------- Co-authored-by: abeck-riis <[email protected]>
- Loading branch information
1 parent
8b1071a
commit 4b1f556
Showing
67 changed files
with
8,857 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
src/app/zap-templates/zcl/data-model/chip/operational-state-oven-cluster.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2023 Project CHIP Authors | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
--> | ||
<configurator> | ||
<domain name="CHIP"/> | ||
<cluster apiMaturity="provisional"> | ||
<domain>Appliances</domain> | ||
<name>Oven Cavity Operational State</name> | ||
<code>0x0048</code> | ||
<define>OPERATIONAL_STATE_OVEN_CLUSTER</define> | ||
<client init="false" tick="false">true</client> | ||
<server init="false" tick="false">true</server> | ||
<description>This cluster supports remotely monitoring and, where supported, changing the operational state of an Oven.</description> | ||
|
||
<globalAttribute side="either" code="0xFFFD" value="1"/> | ||
|
||
<attribute side="server" code="0x0000" define="PHASE_LIST" type="ARRAY" entryType="char_string" writable="false" isNullable="true" optional="false">PhaseList</attribute> | ||
<attribute side="server" code="0x0001" define="CURRENT_PHASE" type="int8u" min="0x00" max="0x1F" writable="false" isNullable="true" optional="false">CurrentPhase</attribute> | ||
<attribute side="server" code="0x0002" define="COUNTDOWN_TIME" type="elapsed_s" min="0x00" max="259200" writable="false" isNullable="true" optional="true">CountdownTime</attribute> | ||
<attribute side="server" code="0x0003" define="OPERATIONAL_STATE_LIST" type="ARRAY" entryType="OperationalStateStruct" writable="false" optional="false">OperationalStateList</attribute> | ||
<attribute side="server" code="0x0004" define="OPERATIONAL_STATE" type="OperationalStateEnum" writable="false" optional="false">OperationalState</attribute> | ||
<attribute side="server" code="0x0005" define="OPERATIONAL_ERROR" type="ErrorStateStruct" writable="false" optional="false">OperationalError</attribute> | ||
|
||
<command source="client" code="0x00" name="Pause" response="OperationalCommandResponse" optional="true"> | ||
<description>Upon receipt, the device SHALL pause its operation if it is possible based on the current function of the server.</description> | ||
</command> | ||
|
||
<command source="client" code="0x01" name="Stop" response="OperationalCommandResponse" optional="true"> | ||
<description>Upon receipt, the device SHALL stop its operation if it is at a position where it is safe to do so and/or permitted.</description> | ||
</command> | ||
|
||
<command source="client" code="0x02" name="Start" response="OperationalCommandResponse" optional="true"> | ||
<description>Upon receipt, the device SHALL start its operation if it is safe to do so and the device is in an operational state from which it can be started.</description> | ||
</command> | ||
|
||
<command source="client" code="0x03" name="Resume" response="OperationalCommandResponse" optional="true"> | ||
<description>Upon receipt, the device SHALL resume its operation from the point it was at when it received the Pause command, or from the point when it was paused by means outside of this cluster (for example by manual button press).</description> | ||
</command> | ||
|
||
<command source="server" code="0x04" name="OperationalCommandResponse" optional="true"> | ||
<description>This command SHALL be generated in response to any of the Start, Stop, Pause, or Resume commands.</description> | ||
<arg name="CommandResponseState" type="ErrorStateStruct"/> | ||
</command> | ||
|
||
<event side="server" code="0x00" priority="critical" name="OperationalError" optional="false"> | ||
<description>OperationalError</description> | ||
<field id="0" name="ErrorState" type="ErrorStateStruct" /> | ||
</event> | ||
|
||
<event side="server" code="0x01" priority="info" name="OperationCompletion" optional="true"> | ||
<description>OperationCompletion</description> | ||
<field id="0" name="CompletionErrorCode" type="enum8" /> | ||
<field id="1" name="TotalOperationalTime" type="elapsed_s" isNullable="true" optional="true"/> | ||
<field id="2" name="PausedTime" type="elapsed_s" isNullable="true" optional="true"/> | ||
</event> | ||
</cluster> | ||
</configurator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.