blob: ed9f8aa296df9b055a2bc2973230b57f1d95dd2a [file] [log] [blame]
# 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 Information"
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: "Precondition"
verification: |
TH must support at least one of these (0xFFFC) FeatureMap attribute’s flag WNCV.S.F00(LF) and/or WNCV.S.F01(TL)
disabled: true
- label: "Check UpOrOpen command"
verification: |
disabled: true
- label: "DUT sends UpOrOpen command to TH"
PICS: WNCV.C.C00.Tx
verification: |
./chip-tool windowcovering up-or-open 1 1
Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log:
[1666856738.257632][2324:2324] CHIP:DMG: InvokeResponseMessage =
[1666856738.257698][2324:2324] CHIP:DMG: {
[1666856738.257756][2324:2324] CHIP:DMG: suppressResponse = false,
[1666856738.257816][2324:2324] CHIP:DMG: InvokeResponseIBs =
[1666856738.257898][2324:2324] CHIP:DMG: [
[1666856738.257961][2324:2324] CHIP:DMG: InvokeResponseIB =
[1666856738.258053][2324:2324] CHIP:DMG: {
[1666856738.258120][2324:2324] CHIP:DMG: CommandStatusIB =
[1666856738.258193][2324:2324] CHIP:DMG: {
[1666856738.258276][2324:2324] CHIP:DMG: CommandPathIB =
[1666856738.258358][2324:2324] CHIP:DMG: {
[1666856738.258452][2324:2324] CHIP:DMG: EndpointId = 0x1,
[1666856738.258535][2324:2324] CHIP:DMG: ClusterId = 0x102,
[1666856738.258683][2324:2324] CHIP:DMG: CommandId = 0x0,
[1666856738.258762][2324:2324] CHIP:DMG: },
[1666856738.258857][2324:2324] CHIP:DMG:
[1666856738.258931][2324:2324] CHIP:DMG: StatusIB =
[1666856738.259016][2324:2324] CHIP:DMG: {
[1666856738.259100][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS),
[1666856738.259185][2324:2324] CHIP:DMG: },
[1666856738.259269][2324:2324] CHIP:DMG:
[1666856738.259345][2324:2324] CHIP:DMG: },
[1666856738.259438][2324:2324] CHIP:DMG:
[1666856738.259503][2324:2324] CHIP:DMG: },
[1666856738.259551][2324:2324] CHIP:DMG:
[1666856738.259572][2324:2324] CHIP:DMG: ],
[1666856738.259597][2324:2324] CHIP:DMG:
[1666856738.259617][2324:2324] CHIP:DMG: InteractionModelRevision = 1
disabled: true
- label: "Check DownOrClose command"
verification: |
disabled: true
- label: "DUT sends DownOrClose command to TH"
PICS: WNCV.C.C01.Tx
verification: |
./chip-tool windowcovering down-or-close 1 1
Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log:
[1666856767.906796][2324:2324] CHIP:DMG: InvokeResponseMessage =
[1666856767.906839][2324:2324] CHIP:DMG: {
[1666856767.906880][2324:2324] CHIP:DMG: suppressResponse = false,
[1666856767.906921][2324:2324] CHIP:DMG: InvokeResponseIBs =
[1666856767.906971][2324:2324] CHIP:DMG: [
[1666856767.907012][2324:2324] CHIP:DMG: InvokeResponseIB =
[1666856767.907076][2324:2324] CHIP:DMG: {
[1666856767.907121][2324:2324] CHIP:DMG: CommandStatusIB =
[1666856767.907172][2324:2324] CHIP:DMG: {
[1666856767.907215][2324:2324] CHIP:DMG: CommandPathIB =
[1666856767.907262][2324:2324] CHIP:DMG: {
[1666856767.907316][2324:2324] CHIP:DMG: EndpointId = 0x1,
[1666856767.907370][2324:2324] CHIP:DMG: ClusterId = 0x102,
[1666856767.907425][2324:2324] CHIP:DMG: CommandId = 0x1,
[1666856767.907477][2324:2324] CHIP:DMG: },
[1666856767.907536][2324:2324] CHIP:DMG:
[1666856767.907584][2324:2324] CHIP:DMG: StatusIB =
[1666856767.907636][2324:2324] CHIP:DMG: {
[1666856767.907690][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS),
[1666856767.907743][2324:2324] CHIP:DMG: },
[1666856767.907795][2324:2324] CHIP:DMG:
[1666856767.907838][2324:2324] CHIP:DMG: },
[1666856767.907892][2324:2324] CHIP:DMG:
[1666856767.907931][2324:2324] CHIP:DMG: },
[1666856767.907983][2324:2324] CHIP:DMG:
[1666856767.908023][2324:2324] CHIP:DMG: ],
[1666856767.908070][2324:2324] CHIP:DMG:
[1666856767.908110][2324:2324] CHIP:DMG: InteractionModelRevision = 1
[1666856767.908150][2324:2324] CHIP:DMG: },
disabled: true
- label: "Check StopMotion command"
verification: |
disabled: true
- label: "DUT sends a StopMotion command to TH"
PICS: WNCV.C.C02.Tx
verification: |
./chip-tool windowcovering stop-motion 1 1
Verify SUCCESS (0x00) status response on the TH(Chip-tool) Log:
[1666856788.504266][2324:2324] CHIP:DMG: InvokeResponseMessage =
[1666856788.504298][2324:2324] CHIP:DMG: {
[1666856788.504328][2324:2324] CHIP:DMG: suppressResponse = false,
[1666856788.504355][2324:2324] CHIP:DMG: InvokeResponseIBs =
[1666856788.504394][2324:2324] CHIP:DMG: [
[1666856788.504425][2324:2324] CHIP:DMG: InvokeResponseIB =
[1666856788.504470][2324:2324] CHIP:DMG: {
[1666856788.504505][2324:2324] CHIP:DMG: CommandStatusIB =
[1666856788.504540][2324:2324] CHIP:DMG: {
[1666856788.504578][2324:2324] CHIP:DMG: CommandPathIB =
[1666856788.504621][2324:2324] CHIP:DMG: {
[1666856788.504712][2324:2324] CHIP:DMG: EndpointId = 0x1,
[1666856788.504758][2324:2324] CHIP:DMG: ClusterId = 0x102,
[1666856788.504799][2324:2324] CHIP:DMG: CommandId = 0x2,
[1666856788.504841][2324:2324] CHIP:DMG: },
[1666856788.504885][2324:2324] CHIP:DMG:
[1666856788.504925][2324:2324] CHIP:DMG: StatusIB =
[1666856788.504964][2324:2324] CHIP:DMG: {
[1666856788.505010][2324:2324] CHIP:DMG: status = 0x00 (SUCCESS),
[1666856788.505049][2324:2324] CHIP:DMG: },
[1666856788.505095][2324:2324] CHIP:DMG:
[1666856788.505130][2324:2324] CHIP:DMG: },
[1666856788.505177][2324:2324] CHIP:DMG:
[1666856788.505210][2324:2324] CHIP:DMG: },
[1666856788.505252][2324:2324] CHIP:DMG:
[1666856788.505283][2324:2324] CHIP:DMG: ],
[1666856788.505321][2324:2324] CHIP:DMG:
[1666856788.505352][2324:2324] CHIP:DMG: InteractionModelRevision = 1
disabled: true