| # Copyright (c) 2021 Project CHIP Authors |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
| |
| name: 3.2.13. [TC-CC-5.4] Color functionality with client as DUT |
| |
| PICS: |
| - CC.C |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Note" |
| verification: | |
| For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. |
| disabled: true |
| |
| - label: "DUT sends MoveToColor command to TH" |
| PICS: CC.C.C07.Rsp |
| verification: | |
| ./chip-tool colorcontrol move-to-color 400 500 300 0 0 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911753.687856][2977:2977] CHIP:DMG: InvokeRequestMessage = |
| [1657911753.687913][2977:2977] CHIP:DMG: { |
| [1657911753.687961][2977:2977] CHIP:DMG: suppressResponse = false, |
| [1657911753.688017][2977:2977] CHIP:DMG: timedRequest = false, |
| [1657911753.688115][2977:2977] CHIP:DMG: InvokeRequests = |
| [1657911753.688185][2977:2977] CHIP:DMG: [ |
| [1657911753.688236][2977:2977] CHIP:DMG: CommandDataIB = |
| [1657911753.688294][2977:2977] CHIP:DMG: { |
| [1657911753.688347][2977:2977] CHIP:DMG: CommandPathIB = |
| [1657911753.688414][2977:2977] CHIP:DMG: { |
| [1657911753.688479][2977:2977] CHIP:DMG: EndpointId = 0x1, |
| [1657911753.688544][2977:2977] CHIP:DMG: ClusterId = 0x300, |
| [1657911753.688610][2977:2977] CHIP:DMG: CommandId = 0x7, |
| [1657911753.688673][2977:2977] CHIP:DMG: }, |
| [1657911753.688740][2977:2977] CHIP:DMG: |
| [1657911753.688800][2977:2977] CHIP:DMG: CommandFields = |
| [1657911753.688858][2977:2977] CHIP:DMG: { |
| [1657911753.688925][2977:2977] CHIP:DMG: 0x0 = 400, |
| [1657911753.688995][2977:2977] CHIP:DMG: 0x1 = 500, |
| [1657911753.689048][2977:2977] CHIP:DMG: 0x2 = 300, |
| [1657911753.689080][2977:2977] CHIP:DMG: 0x3 = 0, |
| [1657911753.689113][2977:2977] CHIP:DMG: 0x4 = 0, |
| [1657911753.689198][2977:2977] CHIP:DMG: }, |
| [1657911753.689228][2977:2977] CHIP:DMG: }, |
| [1657911753.689262][2977:2977] CHIP:DMG: |
| [1657911753.689285][2977:2977] CHIP:DMG: ], |
| [1657911753.689316][2977:2977] CHIP:DMG: |
| [1657911753.689339][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911753.689362][2977:2977] CHIP:DMG: }, |
| [1657911753.689432][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o |
| [1657911753.689469][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911753.689496][2977:2977] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0007 |
| disabled: true |
| |
| - label: |
| "DUT reads CurrentX and CurrentY attributes from TH (potentially |
| multiple times)" |
| PICS: CC.C.C07.Rsp && CC.C.A0003 && CC.C.A0004 |
| verification: | |
| ./chip-tool colorcontrol read current-x 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911771.965429][2977:2977] CHIP:IM: Received Read request |
| [1657911771.965509][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911771.965536][2977:2977] CHIP:DMG: { |
| [1657911771.965557][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911771.965583][2977:2977] CHIP:DMG: [ |
| [1657911771.965606][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911771.965631][2977:2977] CHIP:DMG: { |
| [1657911771.965657][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911771.965695][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911771.965726][2977:2977] CHIP:DMG: Attribute = 0x0000_0003, |
| [1657911771.965758][2977:2977] CHIP:DMG: } |
| [1657911771.965786][2977:2977] CHIP:DMG: |
| [1657911771.965811][2977:2977] CHIP:DMG: ], |
| [1657911771.965838][2977:2977] CHIP:DMG: |
| [1657911771.965864][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911771.965889][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911771.965912][2977:2977] CHIP:DMG: }, |
| [1657911771.965989][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911771.966084][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911771.966114][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 3 is dirty |
| [1657911771.966136][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) |
| [1657911771.966164][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911771.966196][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911771.966254][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| |
| "./chip-tool colorcontrol read current-y 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911790.232595][2977:2977] CHIP:IM: Received Read request |
| [1657911790.232674][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911790.232700][2977:2977] CHIP:DMG: { |
| [1657911790.232723][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911790.232756][2977:2977] CHIP:DMG: [ |
| [1657911790.232780][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911790.232807][2977:2977] CHIP:DMG: { |
| [1657911790.232834][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911790.232865][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911790.232898][2977:2977] CHIP:DMG: Attribute = 0x0000_0004, |
| [1657911790.232931][2977:2977] CHIP:DMG: } |
| [1657911790.232960][2977:2977] CHIP:DMG: |
| [1657911790.232985][2977:2977] CHIP:DMG: ], |
| [1657911790.233012][2977:2977] CHIP:DMG: |
| [1657911790.233038][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911790.233063][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911790.233086][2977:2977] CHIP:DMG: }, |
| [1657911790.233162][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911790.233249][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911790.233279][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 4 is dirty |
| [1657911790.233300][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) |
| [1657911790.233328][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911790.233360][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911790.233415][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| " |
| disabled: true |
| |
| - label: "DUT sends MoveColor command to TH" |
| PICS: CC.C.C08.Rsp |
| verification: | |
| ./chip-tool colorcontrol move-color 10 20 0 0 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| |
| [1657911814.839535][2977:2977] CHIP:DMG: InvokeRequestMessage = |
| [1657911814.839586][2977:2977] CHIP:DMG: { |
| [1657911814.839611][2977:2977] CHIP:DMG: suppressResponse = false, |
| [1657911814.839640][2977:2977] CHIP:DMG: timedRequest = false, |
| [1657911814.839666][2977:2977] CHIP:DMG: InvokeRequests = |
| [1657911814.839762][2977:2977] CHIP:DMG: [ |
| [1657911814.839792][2977:2977] CHIP:DMG: CommandDataIB = |
| [1657911814.839822][2977:2977] CHIP:DMG: { |
| [1657911814.839849][2977:2977] CHIP:DMG: CommandPathIB = |
| [1657911814.839882][2977:2977] CHIP:DMG: { |
| [1657911814.839914][2977:2977] CHIP:DMG: EndpointId = 0x1, |
| [1657911814.839952][2977:2977] CHIP:DMG: ClusterId = 0x300, |
| [1657911814.839987][2977:2977] CHIP:DMG: CommandId = 0x8, |
| [1657911814.840019][2977:2977] CHIP:DMG: }, |
| [1657911814.840074][2977:2977] CHIP:DMG: |
| [1657911814.840105][2977:2977] CHIP:DMG: CommandFields = |
| [1657911814.840136][2977:2977] CHIP:DMG: { |
| [1657911814.840172][2977:2977] CHIP:DMG: 0x0 = 10, |
| [1657911814.840207][2977:2977] CHIP:DMG: 0x1 = 20, |
| [1657911814.840239][2977:2977] CHIP:DMG: 0x2 = 0, |
| [1657911814.840273][2977:2977] CHIP:DMG: 0x3 = 0, |
| [1657911814.840310][2977:2977] CHIP:DMG: }, |
| [1657911814.840340][2977:2977] CHIP:DMG: }, |
| [1657911814.840374][2977:2977] CHIP:DMG: |
| [1657911814.840399][2977:2977] CHIP:DMG: ], |
| [1657911814.840432][2977:2977] CHIP:DMG: |
| [1657911814.840457][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911814.840482][2977:2977] CHIP:DMG: }, |
| [1657911814.840556][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o |
| [1657911814.840596][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911814.840624][2977:2977] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0008 |
| disabled: true |
| |
| - label: |
| "DUT reads CurrentX and CurrentY attributes from TH (potentially |
| multiple times)" |
| PICS: CC.C.C08.Rsp && CC.C.A0003 && CC.C.A0004 |
| verification: | |
| ./chip-tool colorcontrol read current-x 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911771.965429][2977:2977] CHIP:IM: Received Read request |
| [1657911771.965509][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911771.965536][2977:2977] CHIP:DMG: { |
| [1657911771.965557][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911771.965583][2977:2977] CHIP:DMG: [ |
| [1657911771.965606][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911771.965631][2977:2977] CHIP:DMG: { |
| [1657911771.965657][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911771.965695][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911771.965726][2977:2977] CHIP:DMG: Attribute = 0x0000_0003, |
| [1657911771.965758][2977:2977] CHIP:DMG: } |
| [1657911771.965786][2977:2977] CHIP:DMG: |
| [1657911771.965811][2977:2977] CHIP:DMG: ], |
| [1657911771.965838][2977:2977] CHIP:DMG: |
| [1657911771.965864][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911771.965889][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911771.965912][2977:2977] CHIP:DMG: }, |
| [1657911771.965989][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911771.966084][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911771.966114][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 3 is dirty |
| [1657911771.966136][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) |
| [1657911771.966164][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911771.966196][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911771.966254][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| |
| "./chip-tool colorcontrol read current-y 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911790.232595][2977:2977] CHIP:IM: Received Read request |
| [1657911790.232674][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911790.232700][2977:2977] CHIP:DMG: { |
| [1657911790.232723][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911790.232756][2977:2977] CHIP:DMG: [ |
| [1657911790.232780][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911790.232807][2977:2977] CHIP:DMG: { |
| [1657911790.232834][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911790.232865][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911790.232898][2977:2977] CHIP:DMG: Attribute = 0x0000_0004, |
| [1657911790.232931][2977:2977] CHIP:DMG: } |
| [1657911790.232960][2977:2977] CHIP:DMG: |
| [1657911790.232985][2977:2977] CHIP:DMG: ], |
| [1657911790.233012][2977:2977] CHIP:DMG: |
| [1657911790.233038][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911790.233063][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911790.233086][2977:2977] CHIP:DMG: }, |
| [1657911790.233162][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911790.233249][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911790.233279][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 4 is dirty |
| [1657911790.233300][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) |
| [1657911790.233328][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911790.233360][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911790.233415][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| " |
| disabled: true |
| |
| - label: "DUT sends StepColor command to TH" |
| PICS: CC.C.C09.Rsp |
| verification: | |
| ./chip-tool colorcontrol step-color 100 100 200 0 0 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911853.249758][2977:2977] CHIP:DMG: InvokeRequestMessage = |
| [1657911853.249810][2977:2977] CHIP:DMG: { |
| [1657911853.249851][2977:2977] CHIP:DMG: suppressResponse = false, |
| [1657911853.249932][2977:2977] CHIP:DMG: timedRequest = false, |
| [1657911853.249980][2977:2977] CHIP:DMG: InvokeRequests = |
| [1657911853.250039][2977:2977] CHIP:DMG: [ |
| [1657911853.250083][2977:2977] CHIP:DMG: CommandDataIB = |
| [1657911853.250150][2977:2977] CHIP:DMG: { |
| [1657911853.250200][2977:2977] CHIP:DMG: CommandPathIB = |
| [1657911853.250258][2977:2977] CHIP:DMG: { |
| [1657911853.250335][2977:2977] CHIP:DMG: EndpointId = 0x1, |
| [1657911853.250395][2977:2977] CHIP:DMG: ClusterId = 0x300, |
| [1657911853.250473][2977:2977] CHIP:DMG: CommandId = 0x9, |
| [1657911853.250529][2977:2977] CHIP:DMG: }, |
| [1657911853.250588][2977:2977] CHIP:DMG: |
| [1657911853.250655][2977:2977] CHIP:DMG: CommandFields = |
| [1657911853.250717][2977:2977] CHIP:DMG: { |
| [1657911853.250784][2977:2977] CHIP:DMG: 0x0 = 100, |
| [1657911853.250857][2977:2977] CHIP:DMG: 0x1 = 100, |
| [1657911853.250901][2977:2977] CHIP:DMG: 0x2 = 200, |
| [1657911853.250943][2977:2977] CHIP:DMG: 0x3 = 0, |
| [1657911853.250976][2977:2977] CHIP:DMG: 0x4 = 0, |
| [1657911853.251011][2977:2977] CHIP:DMG: }, |
| [1657911853.251039][2977:2977] CHIP:DMG: }, |
| [1657911853.251071][2977:2977] CHIP:DMG: |
| [1657911853.251103][2977:2977] CHIP:DMG: ], |
| [1657911853.251135][2977:2977] CHIP:DMG: |
| [1657911853.251159][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911853.251182][2977:2977] CHIP:DMG: }, |
| [1657911853.251262][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o |
| [1657911853.251311][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911853.251340][2977:2977] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0009 |
| disabled: true |
| |
| - label: |
| "DUT reads CurrentX and CurrentY attributes from TH (potentially |
| multiple times)" |
| PICS: CC.C.C09.Rsp && CC.C.A0003 && CC.C.A0004 |
| verification: | |
| ./chip-tool colorcontrol read current-x 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911771.965429][2977:2977] CHIP:IM: Received Read request |
| [1657911771.965509][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911771.965536][2977:2977] CHIP:DMG: { |
| [1657911771.965557][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911771.965583][2977:2977] CHIP:DMG: [ |
| [1657911771.965606][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911771.965631][2977:2977] CHIP:DMG: { |
| [1657911771.965657][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911771.965695][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911771.965726][2977:2977] CHIP:DMG: Attribute = 0x0000_0003, |
| [1657911771.965758][2977:2977] CHIP:DMG: } |
| [1657911771.965786][2977:2977] CHIP:DMG: |
| [1657911771.965811][2977:2977] CHIP:DMG: ], |
| [1657911771.965838][2977:2977] CHIP:DMG: |
| [1657911771.965864][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911771.965889][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911771.965912][2977:2977] CHIP:DMG: }, |
| [1657911771.965989][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911771.966084][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911771.966114][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 3 is dirty |
| [1657911771.966136][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) |
| [1657911771.966164][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911771.966196][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911771.966254][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| |
| "./chip-tool colorcontrol read current-y 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911790.232595][2977:2977] CHIP:IM: Received Read request |
| [1657911790.232674][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911790.232700][2977:2977] CHIP:DMG: { |
| [1657911790.232723][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911790.232756][2977:2977] CHIP:DMG: [ |
| [1657911790.232780][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911790.232807][2977:2977] CHIP:DMG: { |
| [1657911790.232834][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911790.232865][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911790.232898][2977:2977] CHIP:DMG: Attribute = 0x0000_0004, |
| [1657911790.232931][2977:2977] CHIP:DMG: } |
| [1657911790.232960][2977:2977] CHIP:DMG: |
| [1657911790.232985][2977:2977] CHIP:DMG: ], |
| [1657911790.233012][2977:2977] CHIP:DMG: |
| [1657911790.233038][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911790.233063][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911790.233086][2977:2977] CHIP:DMG: }, |
| [1657911790.233162][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911790.233249][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911790.233279][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 4 is dirty |
| [1657911790.233300][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) |
| [1657911790.233328][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911790.233360][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911790.233415][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| " |
| disabled: true |
| |
| - label: "DUT sends StopMoveStep command to TH." |
| PICS: CC.C.C47.Rsp |
| verification: | |
| ./chip-tool colorcontrol stop-move-step 0 0 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| |
| [1657911876.005800][2977:2977] CHIP:DMG: InvokeRequestMessage = |
| [1657911876.005828][2977:2977] CHIP:DMG: { |
| [1657911876.005852][2977:2977] CHIP:DMG: suppressResponse = false, |
| [1657911876.005881][2977:2977] CHIP:DMG: timedRequest = false, |
| [1657911876.005907][2977:2977] CHIP:DMG: InvokeRequests = |
| [1657911876.005940][2977:2977] CHIP:DMG: [ |
| [1657911876.005966][2977:2977] CHIP:DMG: CommandDataIB = |
| [1657911876.005998][2977:2977] CHIP:DMG: { |
| [1657911876.006027][2977:2977] CHIP:DMG: CommandPathIB = |
| [1657911876.006061][2977:2977] CHIP:DMG: { |
| [1657911876.006094][2977:2977] CHIP:DMG: EndpointId = 0x1, |
| [1657911876.006128][2977:2977] CHIP:DMG: ClusterId = 0x300, |
| [1657911876.006166][2977:2977] CHIP:DMG: CommandId = 0x47, |
| [1657911876.006197][2977:2977] CHIP:DMG: }, |
| [1657911876.006231][2977:2977] CHIP:DMG: |
| [1657911876.006261][2977:2977] CHIP:DMG: CommandFields = |
| [1657911876.006296][2977:2977] CHIP:DMG: { |
| [1657911876.006330][2977:2977] CHIP:DMG: 0x0 = 0, |
| [1657911876.006366][2977:2977] CHIP:DMG: 0x1 = 0, |
| [1657911876.006399][2977:2977] CHIP:DMG: }, |
| [1657911876.006428][2977:2977] CHIP:DMG: }, |
| [1657911876.006462][2977:2977] CHIP:DMG: |
| [1657911876.006487][2977:2977] CHIP:DMG: ], |
| [1657911876.006519][2977:2977] CHIP:DMG: |
| [1657911876.006543][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911876.006568][2977:2977] CHIP:DMG: }, |
| [1657911876.006639][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=o |
| [1657911876.006676][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911876.006706][2977:2977] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0300 Command=0x0000_0047 |
| disabled: true |
| |
| - label: |
| "DUT reads CurrentX and CurrentY attributes from TH (potentially |
| multiple times)" |
| PICS: CC.C.C47.Rsp && CC.C.A0003 && CC.C.A0004 |
| verification: | |
| ./chip-tool colorcontrol read current-x 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911771.965429][2977:2977] CHIP:IM: Received Read request |
| [1657911771.965509][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911771.965536][2977:2977] CHIP:DMG: { |
| [1657911771.965557][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911771.965583][2977:2977] CHIP:DMG: [ |
| [1657911771.965606][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911771.965631][2977:2977] CHIP:DMG: { |
| [1657911771.965657][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911771.965695][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911771.965726][2977:2977] CHIP:DMG: Attribute = 0x0000_0003, |
| [1657911771.965758][2977:2977] CHIP:DMG: } |
| [1657911771.965786][2977:2977] CHIP:DMG: |
| [1657911771.965811][2977:2977] CHIP:DMG: ], |
| [1657911771.965838][2977:2977] CHIP:DMG: |
| [1657911771.965864][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911771.965889][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911771.965912][2977:2977] CHIP:DMG: }, |
| [1657911771.965989][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911771.966084][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911771.966114][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 3 is dirty |
| [1657911771.966136][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0003 (expanded=0) |
| [1657911771.966164][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911771.966196][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911771.966254][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| |
| "./chip-tool colorcontrol read current-y 1 1 |
| |
| Verify in TH(all-clusters-app) log: |
| [1657911790.232595][2977:2977] CHIP:IM: Received Read request |
| [1657911790.232674][2977:2977] CHIP:DMG: ReadRequestMessage = |
| [1657911790.232700][2977:2977] CHIP:DMG: { |
| [1657911790.232723][2977:2977] CHIP:DMG: AttributePathIBs = |
| [1657911790.232756][2977:2977] CHIP:DMG: [ |
| [1657911790.232780][2977:2977] CHIP:DMG: AttributePathIB = |
| [1657911790.232807][2977:2977] CHIP:DMG: { |
| [1657911790.232834][2977:2977] CHIP:DMG: Endpoint = 0x1, |
| [1657911790.232865][2977:2977] CHIP:DMG: Cluster = 0x300, |
| [1657911790.232898][2977:2977] CHIP:DMG: Attribute = 0x0000_0004, |
| [1657911790.232931][2977:2977] CHIP:DMG: } |
| [1657911790.232960][2977:2977] CHIP:DMG: |
| [1657911790.232985][2977:2977] CHIP:DMG: ], |
| [1657911790.233012][2977:2977] CHIP:DMG: |
| [1657911790.233038][2977:2977] CHIP:DMG: isFabricFiltered = true, |
| [1657911790.233063][2977:2977] CHIP:DMG: InteractionModelRevision = 1 |
| [1657911790.233086][2977:2977] CHIP:DMG: }, |
| [1657911790.233162][2977:2977] CHIP:DMG: IM RH moving to [GeneratingReports] |
| [1657911790.233249][2977:2977] CHIP:DMG: Building Reports for ReadHandler with LastReportGeneration = 0 DirtyGeneration = 0 |
| [1657911790.233279][2977:2977] CHIP:DMG: <RE:Run> Cluster 300, Attribute 4 is dirty |
| [1657911790.233300][2977:2977] CHIP:DMG: Reading attribute: Cluster=0x0000_0300 Endpoint=1 AttributeId=0x0000_0004 (expanded=0) |
| [1657911790.233328][2977:2977] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0300 e=1 p=v |
| [1657911790.233360][2977:2977] CHIP:DMG: AccessControl: allowed |
| [1657911790.233415][2977:2977] CHIP:DMG: <RE> Sending report (payload has 38 bytes)... |
| |
| " |
| disabled: true |