Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TC-SWTCH-1.1 #34642

Merged
merged 5 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8075,7 +8075,7 @@ endpoint 1 {
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster FixedLabel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8029,7 +8029,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -26554,4 +26554,4 @@
"parentEndpointIdentifier": null
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6445,7 +6445,7 @@ endpoint 1 {
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster FixedLabel {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5593,7 +5593,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 0,
"maxInterval": 65344,
Expand Down Expand Up @@ -12408,4 +12408,4 @@
"parentEndpointIdentifier": null
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1563,7 +1563,7 @@ endpoint 1 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0xE;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}
}

Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_genericswitch_2dfff6e516.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -2801,4 +2801,4 @@
"parentEndpointIdentifier": null
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1560,7 +1560,7 @@ endpoint 1 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}
}

Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_genericswitch_9866e35d0b.zap
Original file line number Diff line number Diff line change
Expand Up @@ -2742,7 +2742,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -2780,4 +2780,4 @@
"parentEndpointIdentifier": null
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3050,7 +3050,7 @@ endpoint 2 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 2;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5857,7 +5857,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -5903,4 +5903,4 @@
"parentEndpointIdentifier": null
}
]
}
}
2 changes: 1 addition & 1 deletion examples/light-switch-app/qpg/zap/switch.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3134,7 +3134,7 @@ endpoint 2 {
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 30;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}
}

Expand Down
4 changes: 2 additions & 2 deletions examples/light-switch-app/qpg/zap/switch.zap
Original file line number Diff line number Diff line change
Expand Up @@ -6488,7 +6488,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -6569,4 +6569,4 @@
"parentEndpointIdentifier": null
}
]
}
}
2 changes: 1 addition & 1 deletion examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2727,7 +2727,7 @@ endpoint 0 {
ram attribute numberOfPositions default = 2;
ram attribute currentPosition;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster AdministratorCommissioning {
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/lighting-common/lighting-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -3524,7 +3524,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -5932,4 +5932,4 @@
"parentEndpointIdentifier": null
}
]
}
}
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -8605,7 +8605,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster AdministratorCommissioning {
Expand Down
6 changes: 3 additions & 3 deletions examples/placeholder/linux/apps/app1/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4890,7 +4890,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -5028,7 +5028,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -15129,4 +15129,4 @@
"parentEndpointIdentifier": null
}
]
}
}
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -8563,7 +8563,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute clusterRevision default = 1;
ram attribute clusterRevision default = 2;
}

server cluster AdministratorCommissioning {
Expand Down
6 changes: 3 additions & 3 deletions examples/placeholder/linux/apps/app2/config.zap
Original file line number Diff line number Diff line change
Expand Up @@ -4906,7 +4906,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -5044,7 +5044,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "1",
"defaultValue": "2",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -14889,4 +14889,4 @@
"parentEndpointIdentifier": null
}
]
}
}
13 changes: 8 additions & 5 deletions src/app/tests/suites/certification/PICS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6143,21 +6143,24 @@ PICS:
#
# server / features
#
- label: "Does the device represent a Latching Switch?"
- label: "Does the device represent a Latching Switch (LS)?"
id: SWTCH.S.F00

- label: "Does the device represent a Momentary Switch?"
- label: "Does the device represent a Momentary Switch (MS)?"
id: SWTCH.S.F01

- label: "Does the MS device support Momentary Switch Release?"
- label: "Does the MS device support Momentary Switch Release (MSR)?"
id: SWTCH.S.F02

- label: "Does the MS device support Momentary Switch LongPress?"
- label: "Does the MS device support Momentary Switch LongPress (MSL)?"
id: SWTCH.S.F03

- label: "Does the MS device support Momentary Switch MultiPress?"
- label: "Does the MS device support Momentary Switch MultiPress (MSM)?"
id: SWTCH.S.F04

- label: "Does the device support ActionSwitch feature (AS)?"
id: SWTCH.S.F05

#
# client / features
#
Expand Down
Loading
Loading