Skip to content

Commit

Permalink
Merge branch 'master' into bridged-basic
Browse files Browse the repository at this point in the history
And ZAP regen.
  • Loading branch information
lzgrablic02 committed Feb 4, 2022
2 parents 9b1bf70 + 792167c commit 84e97d2
Show file tree
Hide file tree
Showing 80 changed files with 1,800 additions and 6,006 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,7 @@ server cluster OnOffSwitchConfiguration = 7 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -2394,7 +2394,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -2420,9 +2420,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
10 changes: 5 additions & 5 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ server cluster OnOff = 6 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -733,7 +733,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -759,9 +759,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
10 changes: 5 additions & 5 deletions examples/door-lock-app/door-lock-common/door-lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ server cluster NetworkCommissioning = 49 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -1095,7 +1095,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -1121,9 +1121,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -640,13 +640,6 @@ client cluster Groups = 4 {
request struct ViewGroupRequest {
INT16U groupId = 0;
}

command AddGroup(AddGroupRequest): AddGroupResponse = 0;
command AddGroupIfIdentifying(AddGroupIfIdentifyingRequest): DefaultSuccess = 5;
command GetGroupMembership(GetGroupMembershipRequest): GetGroupMembershipResponse = 2;
command RemoveAllGroups(): DefaultSuccess = 4;
command RemoveGroup(RemoveGroupRequest): RemoveGroupResponse = 3;
command ViewGroup(ViewGroupRequest): ViewGroupResponse = 1;
}

client cluster Identify = 3 {
Expand Down Expand Up @@ -1016,14 +1009,10 @@ client cluster OnOff = 6 {
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;

command Off(): DefaultSuccess = 0;
command On(): DefaultSuccess = 1;
command Toggle(): DefaultSuccess = 2;
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -1084,7 +1073,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -1110,9 +1099,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down Expand Up @@ -1226,14 +1215,6 @@ client cluster Scenes = 5 {
CHAR_STRING sceneName = 4;
SceneExtensionFieldSet extensionFieldSets[] = 5;
}

command AddScene(AddSceneRequest): AddSceneResponse = 0;
command GetSceneMembership(GetSceneMembershipRequest): GetSceneMembershipResponse = 6;
command RecallScene(RecallSceneRequest): DefaultSuccess = 5;
command RemoveAllScenes(RemoveAllScenesRequest): RemoveAllScenesResponse = 3;
command RemoveScene(RemoveSceneRequest): RemoveSceneResponse = 2;
command StoreScene(StoreSceneRequest): StoreSceneResponse = 4;
command ViewScene(ViewSceneRequest): ViewSceneResponse = 1;
}

server cluster SoftwareDiagnostics = 52 {
Expand Down
10 changes: 5 additions & 5 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ server cluster OnOffSwitchConfiguration = 7 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -1233,7 +1233,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -1259,9 +1259,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
10 changes: 5 additions & 5 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ server cluster OnOff = 6 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -589,7 +589,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -615,9 +615,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
10 changes: 5 additions & 5 deletions examples/log-source-app/log-source-common/log-source-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ server cluster NetworkCommissioning = 49 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -342,7 +342,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct UpdateFabricLabelRequest {
Expand All @@ -359,9 +359,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ server cluster OtaSoftwareUpdateProvider = 41 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -451,7 +451,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct UpdateFabricLabelRequest {
Expand All @@ -468,9 +468,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -495,7 +495,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -521,9 +521,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
14 changes: 7 additions & 7 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ server cluster OnOff = 6 {
}

client cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -618,7 +618,7 @@ client cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand Down Expand Up @@ -646,7 +646,7 @@ client cluster OperationalCredentials = 62 {
}

server cluster OperationalCredentials = 62 {
enum NodeOperationalCertStatus : ENUM8 {
enum OperationalCertStatus : ENUM8 {
kSuccess = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
Expand Down Expand Up @@ -700,7 +700,7 @@ server cluster OperationalCredentials = 62 {
}

request struct RemoveFabricRequest {
INT8U fabricIndex = 0;
fabric_idx fabricIndex = 0;
}

request struct RemoveTrustedRootCertificateRequest {
Expand All @@ -726,9 +726,9 @@ server cluster OperationalCredentials = 62 {
}

response struct NOCResponse {
INT8U statusCode = 0;
INT8U fabricIndex = 1;
CHAR_STRING debugText = 2;
OperationalCertStatus statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}

response struct OpCSRResponse {
Expand Down
Loading

0 comments on commit 84e97d2

Please sign in to comment.