blob: 8316b094da261c9831a19351af69ba287c32a9cc [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:
12.4.1. [TC-CNET-4.1] [Wi-Fi] Verification for attributes check [DUT-Server]
PICS:
- CNET.S.F00
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Factory reset the DUT"
verification: |
disabled: true
- label: "Commission TH and DUT over BLE to setup the Wi-Fi"
verification: |
disabled: true
- label:
"TH reads Descriptor Cluster from the DUT with EP0 TH reads ServerList
from the DUT"
verification: |
./chip-tool descriptor read server-list 1 0
Verify "server list" on the TH(Chip-tool) Log:
[1654250292.680821][5262:5267] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 812190876
[1654250292.681079][5262:5267] CHIP:TOO: server list: 26 entries
[1654250292.681196][5262:5267] CHIP:TOO: [1]: 3
[1654250292.681264][5262:5267] CHIP:TOO: [2]: 4
[1654250292.681327][5262:5267] CHIP:TOO: [3]: 29
[1654250292.681389][5262:5267] CHIP:TOO: [4]: 30
[1654250292.681450][5262:5267] CHIP:TOO: [5]: 31
[1654250292.681525][5262:5267] CHIP:TOO: [6]: 40
[1654250292.681578][5262:5267] CHIP:TOO: [7]: 42
[1654250292.681629][5262:5267] CHIP:TOO: [8]: 43
[1654250292.681680][5262:5267] CHIP:TOO: [9]: 44
[1654250292.681731][5262:5267] CHIP:TOO: [10]: 45
[1654250292.681782][5262:5267] CHIP:TOO: [11]: 46
[1654250292.681833][5262:5267] CHIP:TOO: [12]: 47
[1654250292.681911][5262:5267] CHIP:TOO: [13]: 48
[1654250292.681977][5262:5267] CHIP:TOO: [14]: 49
[1654250292.682038][5262:5267] CHIP:TOO: [15]: 50
[1654250292.682100][5262:5267] CHIP:TOO: [16]: 51
[1654250292.682160][5262:5267] CHIP:TOO: [17]: 52
[1654250292.682220][5262:5267] CHIP:TOO: [18]: 53
[1654250292.682281][5262:5267] CHIP:TOO: [19]: 54
[1654250292.682342][5262:5267] CHIP:TOO: [20]: 55
[1654250292.682404][5262:5267] CHIP:TOO: [21]: 60
[1654250292.682467][5262:5267] CHIP:TOO: [22]: 62
[1654250292.682528][5262:5267] CHIP:TOO: [23]: 63
[1654250292.682590][5262:5267] CHIP:TOO: [24]: 64
[1654250292.682651][5262:5267] CHIP:TOO: [25]: 65
[1654250292.682714][5262:5267] CHIP:TOO: [26]: 1029
disabled: true
- label: "TH reads FeatureMap attribute from the DUT"
verification: |
./chip-tool networkcommissioning read feature-map 1 0
Verify "FeatureMap: 1" on the TH(Chip-tool) Log:
[1653473169.784344][29771:29776] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 1600858167
[1653473169.784413][29771:29776] CHIP:TOO: FeatureMap: 1
[1653473169.784516][29771:29776] CHIP:EM: Sending Standalone Ack for MessageCounter:3349837 on exchange 7603i
disabled: true
- label: "TH reads the MaxNetworks attribute from the DUT"
PICS: CNET.S.A0000
verification: |
./chip-tool networkcommissioning read max-networks 1 0
Verify "MaxNetworks" on the TH(Chip-tool) Log:
[1653473181.407542][29777:29782] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0000 DataVersion: 1600858167
[1653473181.407621][29777:29782] CHIP:TOO: MaxNetworks: 1
[1653473181.407725][29777:29782] CHIP:EM: Sending Standalone Ack for MessageCounter:15199397 on exchange 5841i
disabled: true
- label:
"TH saves the MaxNetworks attribute value as MaxNetworksValue for
future use"
verification: |
disabled: true
- label: "TH reads the Networks attribute list from the DUT"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 0
Verify "Networks entiries and its status" on the TH(Chip-tool) Log:
[1654250379.881780][5309:5314] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 3741733376
[1654250379.881974][5309:5314] CHIP:TOO: Networks: 1 entries
[1654250379.882123][5309:5314] CHIP:TOO: [1]: {
[1654250379.882196][5309:5314] CHIP:TOO: NetworkID: 47524C50726976617465
[1654250379.882257][5309:5314] CHIP:TOO: Connected: TRUE
[1654250379.882312][5309:5314] CHIP:TOO: }
disabled: true
- label: "TH reads ScanMaxTimeSeconds attribute from the DUT"
PICS: CNET.S.A0002
verification: |
./chip-tool networkcommissioning read scan-max-time-seconds 1 0
Verify "ScanMaxTimeSeconds" on the TH(Chip-tool) Log:
[1653473784.850830][29813:29818] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0002 DataVersion: 1600858167
[1653473784.850916][29813:29818] CHIP:TOO: ScanMaxTimeSeconds: 10
[1653473784.851029][29813:29818] CHIP:EM: Sending Standalone Ack for MessageCounter:16671548 on exchange 37205i
disabled: true
- label: "TH reads ConnectMaxTimeSeconds Attribute from the DUT"
PICS: CNET.S.A0003
verification: |
./chip-tool networkcommissioning read connect-max-time-seconds 1 0
Verify "ConnectMaxTimeSeconds" on the TH(Chip-tool) Log:
[1653473821.367214][29821:29826] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0003 DataVersion: 1600858167
[1653473821.367283][29821:29826] CHIP:TOO: ConnectMaxTimeSeconds: 20
[1653473821.367379][29821:29826] CHIP:EM: Sending Standalone Ack for MessageCounter:187119 on exchange 50022i
disabled: true
- label: "TH reads InterfaceEnabled attribute from the DUT"
PICS: CNET.S.A0004
verification: |
./chip-tool networkcommissioning read interface-enabled 1 0
Verify "InterfaceEnabled" on the TH(Chip-tool) Log:
[1653473893.275901][29834:29839] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0004 DataVersion: 1600858167
[1653473893.275964][29834:29839] CHIP:TOO: InterfaceEnabled: TRUE
[1653473893.276084][29834:29839] CHIP:EM: Sending Standalone Ack for MessageCounter:13157245 on exchange 55578i
disabled: true
- label: "TH reads LastNetworkingStatus attribute from the DUT"
PICS: CNET.S.A0005
verification: |
./chip-tool networkcommissioning read last-networking-status 1 0
Verify "LastNetworkingStatus" on the TH(Chip-tool) Log:
[1653473918.484769][29840:29845] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0005 DataVersion: 1600858167
[1653473918.484843][29840:29845] CHIP:TOO: LastNetworkingStatus: 0
[1653473918.484940][29840:29845] CHIP:EM: Sending Standalone Ack for MessageCounter:10161085 on exchange 18769i
disabled: true
- label:
"TH reads the LastNetworkID attribute from the DUT TH reads the
Networks attribute from the DUT"
PICS: CNET.S.A0006
verification: |
./chip-tool networkcommissioning read last-network-id 1 0
Verify "LastNetworkID" on the TH(Chip-tool) Log:
"[1653474059.383553][27286:27291] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0006 DataVersion: 1912591449
[1653474059.383618][27286:27291] CHIP:TOO: LastNetworkID: 47524C50726976617465
[1653474059.383723][27286:27291] CHIP:EM: Sending Standalone Ack for MessageCounter:6975079 on exchange 34674i"
disabled: true
- label: "TH reads the LastConnectErrorValue attribute from the DUT"
PICS: CNET.S.A0007
verification: |
./chip-tool networkcommissioning read last-connect-error-value 1 0
Verify "LastConnectErrorValue" on the TH(Chip-tool) Log:
[1653474102.061746][29860:29865] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0007 DataVersion: 1600858167
[1653474102.061812][29860:29865] CHIP:TOO: LastConnectErrorValue: null
[1653474102.061934][29860:29865] CHIP:EM: Sending Standalone Ack for MessageCounter:5193529 on exchange 29546i
disabled: true