| # 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.4.7. [TC-WNCV-6.1] Basic Commands Verification [DUT as Client] |
| |
| PICS: |
| - WNCV.C |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Check UpOrOpen command" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "DUT sends UpOrOpen command to TH" |
| PICS: WNCV.C.C00.Tx |
| verification: | |
| ./chip-tool windowcovering up-or-open 1 1 |
| |
| Verify the " DUT responds with request response" on TH(all-clusters-app): |
| |
| 1659945239.794637][2742:2742] CHIP:DMG: InvokeRequestMessage = |
| [1659945239.794680][2742:2742] CHIP:DMG: { |
| [1659945239.794718][2742:2742] CHIP:DMG: suppressResponse = false, |
| [1659945239.794762][2742:2742] CHIP:DMG: timedRequest = false, |
| [1659945239.794801][2742:2742] CHIP:DMG: InvokeRequests = |
| [1659945239.794851][2742:2742] CHIP:DMG: [ |
| [1659945239.794891][2742:2742] CHIP:DMG: CommandDataIB = |
| [1659945239.794936][2742:2742] CHIP:DMG: { |
| [1659945239.794997][2742:2742] CHIP:DMG: CommandPathIB = |
| [1659945239.795055][2742:2742] CHIP:DMG: { |
| [1659945239.795112][2742:2742] CHIP:DMG: EndpointId = 0x1, |
| [1659945239.795177][2742:2742] CHIP:DMG: ClusterId = 0x102, |
| [1659945239.795239][2742:2742] CHIP:DMG: CommandId = 0x0, |
| [1659945239.795297][2742:2742] CHIP:DMG: }, |
| [1659945239.795353][2742:2742] CHIP:DMG: |
| [1659945239.795403][2742:2742] CHIP:DMG: CommandFields = |
| [1659945239.795451][2742:2742] CHIP:DMG: { |
| [1659945239.795500][2742:2742] CHIP:DMG: }, |
| [1659945239.795547][2742:2742] CHIP:DMG: }, |
| [1659945239.795594][2742:2742] CHIP:DMG: |
| disabled: true |
| |
| - label: "Check DownOrClose command" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "DUT sends DownOrClose command to TH" |
| PICS: WNCV.C.C01.Tx |
| verification: | |
| ./chip-tool windowcovering down-or-close 1 1 |
| |
| |
| Verify the " DUT responds with request response" on TH(all-clusters-app): |
| |
| [1659945343.976313][2742:2742] CHIP:DMG: InvokeRequestMessage = |
| [1659945343.976344][2742:2742] CHIP:DMG: { |
| [1659945343.976367][2742:2742] CHIP:DMG: suppressResponse = false, |
| [1659945343.976399][2742:2742] CHIP:DMG: timedRequest = false, |
| [1659945343.976424][2742:2742] CHIP:DMG: InvokeRequests = |
| [1659945343.976454][2742:2742] CHIP:DMG: [ |
| [1659945343.976479][2742:2742] CHIP:DMG: CommandDataIB = |
| [1659945343.976510][2742:2742] CHIP:DMG: { |
| [1659945343.976539][2742:2742] CHIP:DMG: CommandPathIB = |
| [1659945343.976571][2742:2742] CHIP:DMG: { |
| [1659945343.976605][2742:2742] CHIP:DMG: EndpointId = 0x1, |
| [1659945343.976639][2742:2742] CHIP:DMG: ClusterId = 0x102, |
| [1659945343.976672][2742:2742] CHIP:DMG: CommandId = 0x1, |
| [1659945343.976701][2742:2742] CHIP:DMG: }, |
| [1659945343.976734][2742:2742] CHIP:DMG: |
| [1659945343.976764][2742:2742] CHIP:DMG: CommandFields = |
| [1659945343.976792][2742:2742] CHIP:DMG: { |
| [1659945343.976823][2742:2742] CHIP:DMG: }, |
| [1659945343.976852][2742:2742] CHIP:DMG: }, |
| [1659945343.976882][2742:2742] CHIP:DMG: |
| [1659945343.976906][2742:2742] CHIP:DMG: ], |
| [1659945343.976936][2742:2742] CHIP:DMG: |
| [1659945343.976960][2742:2742] CHIP:DMG: InteractionModelRevision = 1 |
| [1659945343.976984][2742:2742] CHIP:DMG: }, |
| disabled: true |
| |
| - label: "Check StopMotion command" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "DUT sends a StopMotion command to TH" |
| PICS: WNCV.C.C02.Tx |
| verification: | |
| ./chip-tool windowcovering stop-motion 1 1 |
| |
| |
| Verify the " DUT responds with status as SUCCESS" on TH(all-clusters-app): |
| |
| [1657103367.961698][4676:4681] CHIP:DMG: InvokeResponseMessage = |
| [1657103367.961722][4676:4681] CHIP:DMG: { |
| [1657103367.961747][4676:4681] CHIP:DMG: suppressResponse = false, |
| [1657103367.961771][4676:4681] CHIP:DMG: InvokeResponseIBs = |
| [1657103367.961802][4676:4681] CHIP:DMG: [ |
| [1657103367.961826][4676:4681] CHIP:DMG: InvokeResponseIB = |
| [1657103367.961861][4676:4681] CHIP:DMG: { |
| [1657103367.961886][4676:4681] CHIP:DMG: CommandStatusIB = |
| [1657103367.961917][4676:4681] CHIP:DMG: { |
| [1657103367.961947][4676:4681] CHIP:DMG: CommandPathIB = |
| [1657103367.961980][4676:4681] CHIP:DMG: { |
| [1657103367.962014][4676:4681] CHIP:DMG: EndpointId = 0x1, |
| [1657103367.962048][4676:4681] CHIP:DMG: ClusterId = 0x102, |
| [1657103367.962081][4676:4681] CHIP:DMG: CommandId = 0x2, |
| [1657103367.962116][4676:4681] CHIP:DMG: }, |
| [1657103367.962154][4676:4681] CHIP:DMG: |
| [1657103367.962184][4676:4681] CHIP:DMG: StatusIB = |
| [1657103367.962216][4676:4681] CHIP:DMG: { |
| [1657103367.962249][4676:4681] CHIP:DMG: status = 0x00 (SUCCESS), |
| [1657103367.962282][4676:4681] CHIP:DMG: }, |
| [1657103367.962314][4676:4681] CHIP:DMG: |
| [1657103367.962343][4676:4681] CHIP:DMG: }, |
| [1657103367.962409][4676:4681] CHIP:DMG: |
| [1657103367.962437][4676:4681] CHIP:DMG: }, |
| [1657103367.962467][4676:4681] CHIP:DMG: |
| [1657103367.962491][4676:4681] CHIP:DMG: ], |
| [1657103367.962520][4676:4681] CHIP:DMG: |
| [1657103367.962544][4676:4681] CHIP:DMG: InteractionModelRevision = 1 |
| [1657103367.962567][4676:4681] CHIP:DMG: }, |
| [1657103367.962624][4676:4681] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0102 Command=0x0000_0002 Status=0x0 |
| [1657103367.962664][4676:4681] CHIP:DMG: ICR moving to [AwaitingDe] |
| disabled: true |