Skip to content

Commit

Permalink
Align Administrator Commissioning XML with the spec again. (#24473)
Browse files Browse the repository at this point in the history
* Align Administrator Commissioning XML with the spec again.

The spec changed in https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/6149

Fixes #24465

* Auto-update ZAP files from the XML.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Feb 26, 2024
1 parent dffd25f commit 2320184
Show file tree
Hide file tree
Showing 140 changed files with 476 additions and 465 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -1553,7 +1553,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5395,7 +5395,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -5447,7 +5447,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -5459,7 +5459,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -1403,7 +1403,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5395,7 +5395,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -5447,7 +5447,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -5459,7 +5459,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -1225,7 +1225,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
Expand Down
6 changes: 3 additions & 3 deletions examples/bridge-app/bridge-common/bridge-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4029,7 +4029,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4097,7 +4097,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4109,7 +4109,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -1080,7 +1080,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4489,7 +4489,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4541,7 +4541,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4553,7 +4553,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -887,7 +887,7 @@ server cluster SoftwareDiagnostics = 52 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -899,7 +899,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4617,7 +4617,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4669,7 +4669,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4681,7 +4681,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -815,7 +815,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4489,7 +4489,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4541,7 +4541,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4553,7 +4553,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -964,7 +964,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4489,7 +4489,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4541,7 +4541,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4553,7 +4553,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -815,7 +815,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
6 changes: 3 additions & 3 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4489,7 +4489,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand Down Expand Up @@ -4541,7 +4541,7 @@
]
},
{
"name": "AdministratorCommissioning",
"name": "Administrator Commissioning",
"code": 60,
"mfgCode": null,
"define": "ADMINISTRATOR_COMMISSIONING_CLUSTER",
Expand All @@ -4553,7 +4553,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "CommissioningWindowStatus",
"type": "CommissioningWindowStatusEnum",
"included": 1,
"storageOption": "External",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ server cluster Switch = 59 {
}

server cluster AdministratorCommissioning = 60 {
enum CommissioningWindowStatus : ENUM8 {
enum CommissioningWindowStatusEnum : ENUM8 {
kWindowNotOpen = 0;
kEnhancedWindowOpen = 1;
kBasicWindowOpen = 2;
Expand All @@ -964,7 +964,7 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

readonly attribute CommissioningWindowStatus windowStatus = 0;
readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute bitmap32 featureMap = 65532;
Expand Down
Loading

0 comments on commit 2320184

Please sign in to comment.