Skip to content

Commit

Permalink
TC-IDM-10.6: Add device type revision test (project-chip#36698)
Browse files Browse the repository at this point in the history
* Door lock: Fix device type revisions

Root node
- revision 2 deprecated the power configuration cluster (not on
  this device)
- revision 3 added MACL restrictions (not applicable to this device)

Door lock
- revision 2 is the matter initial revision, which is what this
  should have been
- revision 3 changes the scenes management cluster revision, but
  it doesn't affect anything on the device because it's disallowed
  and also provisional

* TC-IDM-10.6: Add device type revision test

* Restyled by autopep8

---------

Co-authored-by: Restyled.io <[email protected]>
  • Loading branch information
cecille and restyled-commits authored Dec 17, 2024
1 parent b159e9c commit 52d4406
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 269 deletions.
4 changes: 2 additions & 2 deletions examples/lock-app/lock-common/lock-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2799,7 +2799,7 @@ cluster DoorLock = 257 {
}

endpoint 0 {
device type ma_rootdevice = 22, version 1;
device type ma_rootdevice = 22, version 3;
device type ma_powersource = 17, version 1;

binding cluster OtaSoftwareUpdateProvider;
Expand Down Expand Up @@ -3181,7 +3181,7 @@ endpoint 0 {
}
endpoint 1 {
device type ma_powersource = 17, version 1;
device type ma_doorlock = 10, version 1;
device type ma_doorlock = 10, version 3;


server cluster Identify {
Expand Down
Loading

0 comments on commit 52d4406

Please sign in to comment.