-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
Copy pathTest_TC_DGWIFI_2_3.yaml
99 lines (88 loc) · 3.27 KB
/
Test_TC_DGWIFI_2_3.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# 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.
name: 51.2.3. [TC-DGWIFI-2.3] Command received functionality with server as DUT
PICS:
- DGWIFI.S
config:
nodeId: 0x12344321
cluster: "WiFi Network Diagnostics"
endpoint: 0
tests:
- label: "Step 1: TWait for the commissioned device to be retrieved"
cluster: "DelayCommands"
command: "WaitForCommissionee"
arguments:
values:
- name: "nodeId"
value: nodeId
#issue #13645
# Also, ResetCounts may not work on some platforms yet?
# And on Linux since we don't have actual Wi-Fi these error out.
- label: "Step 2: TH sends ResetCounts command to DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp
command: "ResetCounts"
- label: "Step 2a: TH reads BeaconLostCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0005
command: "readAttribute"
attribute: "BeaconLostCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295
- label: "Step 2b: TH reads BeaconRxCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0006
command: "readAttribute"
attribute: "BeaconRxCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295
- label: "Step 2c: TH reads PacketMulticastRxCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0007
command: "readAttribute"
attribute: "PacketMulticastRxCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295
- label: "Step 2d: TH reads PacketMulticastTxCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0008
command: "readAttribute"
attribute: "PacketMulticastTxCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295
- label: "Step 2e: TH reads PacketUnicastRxCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A0009
command: "readAttribute"
attribute: "PacketUnicastRxCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295
- label: "Step 2f: TH reads PacketUnicastTxCount attribute from DUT"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.C00.Rsp && DGWIFI.S.A000a
command: "readAttribute"
attribute: "PacketUnicastTxCount"
response:
constraints:
type: int32u
minValue: 0
maxValue: 4294967295