Skip to content

Commit 58ed63d

Browse files
tcarmelveilleuxrestyled-commits
andauthoredSep 5, 2024
Fix ACL XML for MACL and sample conformance (project-chip#35411)
* Fix ACL cluster ZAP XML and regen ZAP - Remove dead event AccessRestrictionEntryChanged - Set response command for ReviewFabricRestrictions - Set correct optionality for FabricRestrictionReviewUpdate * Fix access control server after XML change * Remove unsupportable commnad * Rename RedirectURL field to ARLRequestFlowUrl * Kick CI * Kick CI * Remove non-longer-applicable files * Increase size of event buffer pool in NIM sample * Restyled by clang-format * Fix format * Remove subscription for event that no longer exists --------- Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 7734069 commit 58ed63d

File tree

126 files changed

+585
-1291
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+585
-1291
lines changed
 

‎examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

+4-8
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,10 @@ cluster AccessControl = 31 {
409409
fabric_idx fabricIndex = 254;
410410
}
411411

412-
fabric_sensitive info event access(read: administer) AccessRestrictionEntryChanged = 2 {
413-
fabric_idx fabricIndex = 254;
414-
}
415-
416-
fabric_sensitive info event access(read: administer) FabricRestrictionReviewUpdate = 3 {
412+
fabric_sensitive info event access(read: administer) FabricRestrictionReviewUpdate = 2 {
417413
int64u token = 0;
418-
nullable long_char_string instruction = 1;
419-
nullable long_char_string redirectURL = 2;
414+
optional long_char_string instruction = 1;
415+
optional long_char_string ARLRequestFlowUrl = 2;
420416
fabric_idx fabricIndex = 254;
421417
}
422418

@@ -443,7 +439,7 @@ cluster AccessControl = 31 {
443439
}
444440

445441
/** This command signals to the service associated with the device vendor that the fabric administrator would like a review of the current restrictions on the accessing fabric. */
446-
fabric command access(invoke: administer) ReviewFabricRestrictions(ReviewFabricRestrictionsRequest): DefaultSuccess = 0;
442+
fabric command access(invoke: administer) ReviewFabricRestrictions(ReviewFabricRestrictionsRequest): ReviewFabricRestrictionsResponse = 0;
447443
}
448444

449445
/** This cluster provides attributes and events for determining basic information about Nodes, which supports both

‎examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

+4-8
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,10 @@ cluster AccessControl = 31 {
409409
fabric_idx fabricIndex = 254;
410410
}
411411

412-
fabric_sensitive info event access(read: administer) AccessRestrictionEntryChanged = 2 {
413-
fabric_idx fabricIndex = 254;
414-
}
415-
416-
fabric_sensitive info event access(read: administer) FabricRestrictionReviewUpdate = 3 {
412+
fabric_sensitive info event access(read: administer) FabricRestrictionReviewUpdate = 2 {
417413
int64u token = 0;
418-
nullable long_char_string instruction = 1;
419-
nullable long_char_string redirectURL = 2;
414+
optional long_char_string instruction = 1;
415+
optional long_char_string ARLRequestFlowUrl = 2;
420416
fabric_idx fabricIndex = 254;
421417
}
422418

@@ -443,7 +439,7 @@ cluster AccessControl = 31 {
443439
}
444440

445441
/** This command signals to the service associated with the device vendor that the fabric administrator would like a review of the current restrictions on the accessing fabric. */
446-
fabric command access(invoke: administer) ReviewFabricRestrictions(ReviewFabricRestrictionsRequest): DefaultSuccess = 0;
442+
fabric command access(invoke: administer) ReviewFabricRestrictions(ReviewFabricRestrictionsRequest): ReviewFabricRestrictionsResponse = 0;
447443
}
448444

449445
/** This cluster provides attributes and events for determining basic information about Nodes, which supports both

0 commit comments

Comments
 (0)