Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[typo] Fix typos in some cluster field names. (#24678)
Browse files Browse the repository at this point in the history
* [typo] Fix typos in some cluster field names.

* [typo] Update ./scripts/tools/zap_regen_all.py
turon authored and pull[bot] committed Oct 19, 2023
1 parent d0e6060 commit 2889769
Showing 13 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -841,7 +841,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -881,7 +881,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Original file line number Diff line number Diff line change
@@ -735,7 +735,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -775,7 +775,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
4 changes: 2 additions & 2 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
@@ -387,7 +387,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -427,7 +427,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
@@ -638,7 +638,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -678,7 +678,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
@@ -615,7 +615,7 @@ server cluster PowerSourceConfiguration = 46 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -655,7 +655,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
4 changes: 2 additions & 2 deletions examples/window-app/common/window-app.matter
Original file line number Diff line number Diff line change
@@ -557,7 +557,7 @@ server cluster UnitLocalization = 45 {

server cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -597,7 +597,7 @@ server cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
Original file line number Diff line number Diff line change
@@ -103,7 +103,7 @@ limitations under the License.

<enum name="BatChargeFault" type="ENUM8">
<cluster code="0x002F"/>
<item name="Unspecfied" value="0x00"/>
<item name="Unspecified" value="0x00"/>
<item name="AmbientTooHot" value="0x01"/>
<item name="AmbientTooCold" value="0x02"/>
<item name="BatteryTooHot" value="0x03"/>
@@ -118,7 +118,7 @@ limitations under the License.

<enum name="PowerSourceStatus" type="ENUM8">
<cluster code="0x002F"/>
<item name="Unspecfied" value="0x00"/>
<item name="Unspecified" value="0x00"/>
<item name="Active" value="0x01"/>
<item name="Standby" value="0x02"/>
<item name="Unavailable" value="0x03"/>
2 changes: 1 addition & 1 deletion src/app/zap-templates/zcl/data-model/silabs/types.xml
Original file line number Diff line number Diff line change
@@ -297,7 +297,7 @@ limitations under the License.
<item name="SubmittedRegistrationRequest" value="0x3"/>
<item name="RegistrationRejected" value="0x4"/>
<item name="Registered" value="0x5"/>
<item name="RegisterationNotPossible" value="0x6"/>
<item name="RegistrationNotPossible" value="0x6"/>
</enum>
<enum name="AnonymousDataState" type="ENUM8">
<item name="NoSourceFound" value="0x0"/>
4 changes: 2 additions & 2 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
@@ -936,7 +936,7 @@ client cluster PowerSourceConfiguration = 46 {

client cluster PowerSource = 47 {
enum BatChargeFault : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kAmbientTooHot = 1;
kAmbientTooCold = 2;
kBatteryTooHot = 3;
@@ -976,7 +976,7 @@ client cluster PowerSource = 47 {
}

enum PowerSourceStatus : ENUM8 {
kUnspecfied = 0;
kUnspecified = 0;
kActive = 1;
kStandby = 2;
kUnavailable = 3;
4 changes: 2 additions & 2 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.

4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

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 2889769

Please sign in to comment.