blob: 1f3e9a20e9cc7699610cb65714695dca366536ed [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.6. [TC-WNCV-5.1] Mandatory Attributes Verification [DUT as Client]
PICS:
- WNCV.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: "Check Attribute defining the cluster Features"
verification: |
disabled: true
- label: "DUT reads the (65532) _FeatureMap_ attribute from TH"
PICS: WNCV.C.Afffc
verification: |
On TestHarnes (all-cluster-app) a received read of feature-map looks like this:
./chip-tool windowcovering read feature-map 1 1
Verify the "feature-map " read response on TH(all-cluster-app):
[1659944836.658724][2742:2742] CHIP:IM: Received Read request
[1659944836.658804][2742:2742] CHIP:DMG: ReadRequestMessage =
[1659944836.658833][2742:2742] CHIP:DMG: {
[1659944836.658854][2742:2742] CHIP:DMG: AttributePathIBs =
[1659944836.658880][2742:2742] CHIP:DMG: [
[1659944836.658904][2742:2742] CHIP:DMG: AttributePathIB =
[1659944836.658932][2742:2742] CHIP:DMG: {
[1659944836.658960][2742:2742] CHIP:DMG: Endpoint = 0x1,
[1659944836.658995][2742:2742] CHIP:DMG: Cluster = 0x102,
[1659944836.659031][2742:2742] CHIP:DMG: Attribute = 0x0000_FFFC,
[1659944836.659062][2742:2742] CHIP:DMG: }
[1659944836.659091][2742:2742] CHIP:DMG:
[1659944836.659116][2742:2742] CHIP:DMG: ],
[1659944836.659144][2742:2742] CHIP:DMG:
[1659944836.659171][2742:2742] CHIP:DMG: isFabricFiltered = true,
[1659944836.659196][2742:2742] CHIP:DMG: InteractionModelRevision = 1
[1659944836.659219][2742:2742] CHIP:DMG: },
disabled: true
- label: "Check Attribute defining the product"
verification: |
disabled: true
- label: "DUT reads the Type attribute from TH"
PICS: WNCV.C.A0000
verification: |
On TestHarnes (all-cluster-app) a received read of type looks like this:
./chip-tool windowcovering read type 1 1
Verify the "type" read response on TH(all-cluster-app):
[1659944958.215763][2742:2742] CHIP:DMG: ReadRequestMessage =
[1659944958.215792][2742:2742] CHIP:DMG: {
[1659944958.215813][2742:2742] CHIP:DMG: AttributePathIBs =
[1659944958.215839][2742:2742] CHIP:DMG: [
[1659944958.215863][2742:2742] CHIP:DMG: AttributePathIB =
[1659944958.215892][2742:2742] CHIP:DMG: {
[1659944958.215920][2742:2742] CHIP:DMG: Endpoint = 0x1,
[1659944958.215955][2742:2742] CHIP:DMG: Cluster = 0x102,
[1659944958.215989][2742:2742] CHIP:DMG: Attribute = 0x0000_0000,
[1659944958.216019][2742:2742] CHIP:DMG: }
[1659944958.216050][2742:2742] CHIP:DMG:
[1659944958.216077][2742:2742] CHIP:DMG: ],
[1659944958.216106][2742:2742] CHIP:DMG:
[1659944958.216134][2742:2742] CHIP:DMG: isFabricFiltered = true,
[1659944958.216160][2742:2742] CHIP:DMG: InteractionModelRevision = 1
[1659944958.216185][2742:2742] CHIP:DMG: },
disabled: true
- label: "DUT reads the EndProductType attribute from TH"
PICS: WNCV.C.A000d
verification: |
On TestHarnes (all-cluster-app) a received read of end-product-type looks like this:
./chip-tool windowcovering read end-product-type 1 1
Verify the "end-product-type "read response on TH(all-cluster-app):
[1659945106.066589][2742:2742] CHIP:IM: Received Read request
[1659945106.066665][2742:2742] CHIP:DMG: ReadRequestMessage =
[1659945106.066691][2742:2742] CHIP:DMG: {
[1659945106.066713][2742:2742] CHIP:DMG: AttributePathIBs =
[1659945106.066741][2742:2742] CHIP:DMG: [
[1659945106.066765][2742:2742] CHIP:DMG: AttributePathIB =
[1659945106.066795][2742:2742] CHIP:DMG: {
[1659945106.066824][2742:2742] CHIP:DMG: Endpoint = 0x1,
[1659945106.066862][2742:2742] CHIP:DMG: Cluster = 0x102,
[1659945106.066920][2742:2742] CHIP:DMG: Attribute = 0x0000_000D,
[1659945106.066973][2742:2742] CHIP:DMG: }
[1659945106.067020][2742:2742] CHIP:DMG:
[1659945106.067065][2742:2742] CHIP:DMG: ],
[1659945106.067110][2742:2742] CHIP:DMG:
[1659945106.067154][2742:2742] CHIP:DMG: isFabricFiltered = true,
[1659945106.067196][2742:2742] CHIP:DMG: InteractionModelRevision = 1
[1659945106.067235][2742:2742] CHIP:DMG: },
disabled: true
- label: "Check Attribute defining the working status"
verification: |
disabled: true
- label: "DUT reads the Mode attribute from TH"
PICS: WNCV.C.A0017
verification: |
On TestHarnes (all-cluster-app) a received read of mode looks like this:
./chip-tool windowcovering read mode 1 1
Verify the "mode" read response on TH(all-cluster-app):
[1659945146.241332][2742:2742] CHIP:IM: Received Read request
[1659945146.241409][2742:2742] CHIP:DMG: ReadRequestMessage =
[1659945146.241436][2742:2742] CHIP:DMG: {
[1659945146.241457][2742:2742] CHIP:DMG: AttributePathIBs =
[1659945146.241483][2742:2742] CHIP:DMG: [
[1659945146.241507][2742:2742] CHIP:DMG: AttributePathIB =
[1659945146.241535][2742:2742] CHIP:DMG: {
[1659945146.241562][2742:2742] CHIP:DMG: Endpoint = 0x1,
[1659945146.241594][2742:2742] CHIP:DMG: Cluster = 0x102,
[1659945146.241625][2742:2742] CHIP:DMG: Attribute = 0x0000_0017,
[1659945146.241655][2742:2742] CHIP:DMG: }
[1659945146.241682][2742:2742] CHIP:DMG:
[1659945146.241707][2742:2742] CHIP:DMG: ],
[1659945146.241735][2742:2742] CHIP:DMG:
[1659945146.241761][2742:2742] CHIP:DMG: isFabricFiltered = true,
[1659945146.241787][2742:2742] CHIP:DMG: InteractionModelRevision = 1
[1659945146.241810][2742:2742] CHIP:DMG: },
disabled: true
- label: "DUT reads the ConfigStatus attribute from TH"
PICS: WNCV.C.A0007
verification: |
On TestHarnes (all-cluster-app) a received read of config-status looks like this:
./chip-tool windowcovering read config-status 1 1
Verify the "config-status"read response on TH(all-cluster-app):
[1659945171.752215][2742:2742] CHIP:IM: Received Read request
[1659945171.752329][2742:2742] CHIP:DMG: ReadRequestMessage =
[1659945171.752367][2742:2742] CHIP:DMG: {
[1659945171.752389][2742:2742] CHIP:DMG: AttributePathIBs =
[1659945171.752426][2742:2742] CHIP:DMG: [
[1659945171.752458][2742:2742] CHIP:DMG: AttributePathIB =
[1659945171.752497][2742:2742] CHIP:DMG: {
[1659945171.752536][2742:2742] CHIP:DMG: Endpoint = 0x1,
[1659945171.752569][2742:2742] CHIP:DMG: Cluster = 0x102,
[1659945171.752608][2742:2742] CHIP:DMG: Attribute = 0x0000_0007,
[1659945171.752640][2742:2742] CHIP:DMG: }
[1659945171.752680][2742:2742] CHIP:DMG:
[1659945171.752719][2742:2742] CHIP:DMG: ],
[1659945171.752750][2742:2742] CHIP:DMG:
[1659945171.752778][2742:2742] CHIP:DMG: isFabricFiltered = true,
[1659945171.752815][2742:2742] CHIP:DMG: InteractionModelRevision = 1
[1659945171.752840][2742:2742] CHIP:DMG: },
disabled: true