Skip to content

Commit

Permalink
Match AdminCommissioningCluster to spec (#30004)
Browse files Browse the repository at this point in the history
* Changes to match spec

* zap regen
  • Loading branch information
andy31415 authored Oct 26, 2023
1 parent 7556a2a commit 1f9814e
Show file tree
Hide file tree
Showing 84 changed files with 470 additions and 159 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -756,9 +756,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -771,7 +775,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1023,9 +1023,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1038,7 +1042,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2188,9 +2188,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -2203,7 +2207,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1803,9 +1803,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1818,7 +1822,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0;
Expand Down
8 changes: 6 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1380,9 +1380,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1395,7 +1399,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1205,9 +1205,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1220,7 +1224,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -691,7 +695,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -839,9 +839,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -854,7 +858,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -844,9 +844,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -859,7 +863,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1021,9 +1021,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1036,7 +1040,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -942,7 +946,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1092,7 +1096,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
8 changes: 6 additions & 2 deletions examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -737,7 +741,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
8 changes: 6 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -942,7 +946,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1077,9 +1077,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -1092,7 +1096,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
8 changes: 6 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,13 @@ server cluster AdministratorCommissioning = 60 {
kWindowNotOpen = 4;
}

bitmap Feature : bitmap32 {
kBasic = 0x1;
}

readonly attribute CommissioningWindowStatusEnum windowStatus = 0;
readonly attribute nullable fabric_idx adminFabricIndex = 1;
readonly attribute nullable int16u adminVendorId = 2;
readonly attribute nullable vendor_id adminVendorId = 2;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
Expand All @@ -929,7 +933,7 @@ server cluster AdministratorCommissioning = 60 {
octet_string PAKEPasscodeVerifier = 1;
int16u discriminator = 2;
int32u iterations = 3;
octet_string salt = 4;
octet_string<32> salt = 4;
}

request struct OpenBasicCommissioningWindowRequest {
Expand Down
Loading

0 comments on commit 1f9814e

Please sign in to comment.