Skip to content

Commit

Permalink
Match General Commissioning Cluster to spec (#30326)
Browse files Browse the repository at this point in the history
* Set length limits on things according to spec

* Zap regen
  • Loading branch information
andy31415 authored Nov 15, 2023
1 parent df3ce73 commit d47aeb4
Show file tree
Hide file tree
Showing 76 changed files with 158 additions and 158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,13 +428,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,13 +422,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1364,13 +1364,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1188,13 +1188,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
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 @@ -696,13 +696,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,13 +348,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -660,13 +660,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -565,13 +565,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
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 @@ -565,13 +565,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -552,13 +552,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,13 +279,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -710,13 +710,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,13 +357,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -571,13 +571,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_samplemei.matter
Original file line number Diff line number Diff line change
Expand Up @@ -716,13 +716,13 @@ server cluster GeneralCommissioning = 48 {

request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
char_string countryCode = 1;
char_string<2> countryCode = 1;
int64u breadcrumb = 2;
}

response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
char_string debugText = 1;
char_string<128> debugText = 1;
}

response struct SetRegulatoryConfigResponse = 3 {
Expand Down
Loading

0 comments on commit d47aeb4

Please sign in to comment.