Skip to content

Commit

Permalink
Create relative position namespace (#34701)
Browse files Browse the repository at this point in the history
* Updated the golabl data type's XMLs, removing the cluster entries.

* Zap generated after XML update.

* Fixed namespaces used of global structs.

* Restyled by clang-format

* Defined the RelativePosition namespace in the namespaces XML.

* Zap generated after XML update.

* Zap generated after sync.

* Fixed the rvc-example that was using the PositionTag type.

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Sep 18, 2024
1 parent 6ba0c20 commit 1257817
Show file tree
Hide file tree
Showing 93 changed files with 950 additions and 655 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
17 changes: 10 additions & 7 deletions examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,16 @@ enum PositionTag : enum8 {
kMiddle = 4;
kRow = 5;
kColumn = 6;
kUnder = 7;
kNextTo = 8;
kAround = 9;
kOn = 10;
kAbove = 11;
kFrontOf = 12;
kBehind = 13;
}

enum RelativePositionTag : enum8 {
kUnder = 0;
kNextTo = 1;
kAround = 2;
kOn = 3;
kAbove = 4;
kFrontOf = 5;
kBehind = 6;
}

enum TestGlobalEnum : enum8 {
Expand Down
Loading

0 comments on commit 1257817

Please sign in to comment.