Skip to content

Commit 99dd36a

Browse files
Test added march 8 (#15957)
* Added new manual scripts * Added Auto generated File Former-commit-id: 35fad7d
1 parent 4d18b49 commit 99dd36a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+6318
-527
lines changed

examples/chip-tool/templates/tests/tests.js

+52
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ function getManualTests()
3232
'Test_TC_DD_3_6',
3333
'Test_TC_DD_3_9',
3434
'Test_TC_DD_3_10',
35+
'Test_TC_DD_3_11',
36+
'Test_TC_DD_3_12',
37+
'Test_TC_DD_3_13',
38+
'Test_TC_DD_3_14',
3539
'Test_TC_DD_4_1',
3640
];
3741

@@ -66,8 +70,11 @@ function getManualTests()
6670

6771
const DeviceManagement = [
6872
'Test_TC_DM_1_2',
73+
'Test_TC_DM_1_4',
6974
'Test_TC_DM_2_3',
75+
'Test_TC_DM_2_4',
7076
'Test_TC_DM_3_2',
77+
'Test_TC_DM_3_4',
7178
];
7279

7380
const DiagnosticsLogs = [
@@ -93,6 +100,7 @@ function getManualTests()
93100
const GeneralDiagnostics = [
94101
'Test_TC_GENDIAG_1_1',
95102
'Test_TC_GENDIAG_1_2',
103+
'Test_TC_GENDIAG_2_1',
96104
];
97105

98106
const Identify = [
@@ -102,6 +110,7 @@ function getManualTests()
102110

103111
const IlluminanceMeasurement = [
104112
'Test_TC_ILL_2_1',
113+
'Test_TC_ILL_2_2',
105114
];
106115

107116
const InteractionDataModel = [
@@ -117,10 +126,13 @@ function getManualTests()
117126
'Test_TC_IDM_5_2',
118127
'Test_TC_IDM_6_1',
119128
'Test_TC_IDM_6_2',
129+
'Test_TC_IDM_6_3',
130+
'Test_TC_IDM_6_4',
120131
];
121132

122133
const MediaControl = [
123134
'Test_TC_MC_3_12',
135+
'Test_TC_MC_3_13',
124136
'Test_TC_MC_4_1',
125137
'Test_TC_MC_8_2',
126138
'Test_TC_MC_9_2',
@@ -157,12 +169,20 @@ function getManualTests()
157169
'Test_TC_MF_1_22',
158170
'Test_TC_MF_1_23',
159171
'Test_TC_MF_1_24',
172+
'Test_TC_MF_1_25',
173+
'Test_TC_MF_1_26',
174+
'Test_TC_MF_1_27',
175+
'Test_TC_MF_1_28',
160176
];
161177

162178
const ModeSelect = [
163179
'Test_TC_MOD_1_1',
164180
'Test_TC_MOD_1_2',
165181
'Test_TC_MOD_2_1',
182+
'Test_TC_MOD_2_2',
183+
'Test_TC_MOD_3_1',
184+
'Test_TC_MOD_3_2',
185+
'Test_TC_MOD_3_3',
166186
];
167187

168188
const OTASoftwareUpdate = [
@@ -178,11 +198,14 @@ function getManualTests()
178198
'Test_TC_SU_3_2',
179199
'Test_TC_SU_3_3',
180200
'Test_TC_SU_3_4',
201+
'Test_TC_SU_4_1',
202+
'Test_TC_SU_4_2',
181203
];
182204

183205
const PowerSourceConfiguration = [
184206
'Test_TC_PSCFG_1_1',
185207
'Test_TC_PSCFG_2_1',
208+
'Test_TC_PSCFG_3_1',
186209
];
187210

188211
const SecureChannel = [
@@ -204,6 +227,30 @@ function getManualTests()
204227

205228
const WindowCovering = [
206229
'Test_TC_WNCV_2_3',
230+
'Test_TC_WNCV_6_1',
231+
];
232+
233+
const FlowMeasurement = [
234+
'Test_TC_FLW_3_1',
235+
];
236+
237+
const OccupancySensing = [
238+
'Test_TC_OCC_2_3',
239+
'Test_TC_OCC_2_4',
240+
'Test_TC_OCC_3_1',
241+
];
242+
243+
const OnOff = [
244+
'Test_TC_OO_2_4',
245+
];
246+
247+
const PressureMeasurement = [
248+
'Test_TC_PRS_2_2',
249+
'Test_TC_PRS_2_3',
250+
];
251+
252+
const PowerSource = [
253+
'Test_TC_PS_2_2',
207254
];
208255

209256
const tests = [
@@ -230,6 +277,11 @@ function getManualTests()
230277
SoftwareDiagnostics, //
231278
WiFiNetworkDiagnostics, //
232279
WindowCovering, //
280+
FlowMeasurement, //
281+
OccupancySensing, //
282+
OnOff, //
283+
PressureMeasurement, //
284+
PowerSource, //
233285

234286
];
235287
return tests.flat(1);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
335fcfe3b2ee9ff5ee47781735fb823fe3fbd61e
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6ea178d9396304eb8f7787f6120c3b96aa28c924
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d8dbffe69c7902379dc077cdb72cdc2281f955ef
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
c6ed2046073782fadab254ac30217905494a0683
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
817b1334292877356bbc4a34c29577496fd5ce1c
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a779dd26be2c2aefb538fd3f6ad8916fe656ae00
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
12bb8df2c2276efbeb1a639b8009a3bd0eb4b183
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cdb2a847b417200f52ebfe85905073b2009624ae
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,229 @@
1+
# Copyright (c) 2021 Project CHIP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: 7.3.11. [TC-DD-3.11] Commissioning Flow - QR Code [DUT - Commissioner]
16+
17+
config:
18+
nodeId: 0x12344321
19+
cluster: "Basic"
20+
endpoint: 0
21+
22+
tests:
23+
- label:
24+
"Version: Use a QR code from a commissionee that has their QR code
25+
Version bit string set to 000"
26+
verification:
27+
"chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769
28+
-cf 0 -dc 2 -dv 3840 -ps 20202021 2022-02-25 23:28:06 matter-te-6
29+
chip.SPL[22108] INFO Manual pairing code: [34970112332] 2022-02-25
30+
23:28:06 matter-te-6 chip.SPL[22108] INFO SetupQRCode:
31+
[MT:-24J042C00KA0648G00]"
32+
disabled: true
33+
34+
- label:
35+
"Scan the QR code from the previous step using the DUT. Follow any
36+
manufacturer-specific steps needed for the Commissioner/Commissionee
37+
to complete the commissioning process."
38+
verification:
39+
"DUT Commissioner: sudo ./examples/chip-tool/out/debug/chip-tool
40+
pairing qrcode 1234 MT:-24J042C00KA0648G00 ... [1645836234938]
41+
[9239:26087760] CHIP: [DMG] Received Command Response Data, Endpoint=0
42+
Cluster=0x0000_0030 Command=0x0000_0005 [1645836234938]
43+
[9239:26087760] CHIP: [CTL] Received CommissioningComplete response
44+
[1645836234938] [9239:26087760] CHIP: [CTL] Rendezvous cleanup
45+
[1645836234938] [9239:26087760] CHIP: [TOO] Device commissioning
46+
completed with success Device TH:
47+
./out/all-clusters-app/chip-all-clusters-app ...
48+
[1645836235.102593][8174:8174] CHIP:EM: Piggybacking Ack for
49+
MessageCounter:9602810 on exchange: 9753r
50+
[1645836235.102654][8174:8174] CHIP:IN: Prepared secure message
51+
0xaaaae5bbed98 to 0x000000000001B669 (1) of type 0x9 and protocolId
52+
(0, 1) on exchange 9753r with MessageCounter:12855769.
53+
[1645836235.102698][8174:8174] CHIP:IN: Sending encrypted msg
54+
0xaaaae5bbed98 with MessageCounter:12855769 to 0x000000000001B669 (1)
55+
at monotonic time: 25637371 msec [1645836235.102836][8174:8174]
56+
CHIP:DMG: ICR moving to [CommandSen] [1645836235.102863][8174:8174]
57+
CHIP:DMG: ICR moving to [AwaitingDe] [1645836235.102906][8174:8174]
58+
CHIP:DL: HandlePlatformSpecificBLEEvent 32784
59+
[1645836235.102932][8174:8174] CHIP:SVR: Commissioning completed
60+
successfully"
61+
disabled: true
62+
63+
- label:
64+
"If (PICS_DT_THREAD), Standard Commissioning Flow: Use a QR code from
65+
a commissionee that has their Custom Flow bit set to 0 and supports
66+
BLE for its Discovery Capability."
67+
verification:
68+
"chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769
69+
-cf 0 -dc 2 -dv 3840 -ps 20202021 2022-02-25 23:28:06 matter-te-6
70+
chip.SPL[22108] INFO Manual pairing code: [34970112332] 2022-02-25
71+
23:28:06 matter-te-6 chip.SPL[22108] INFO SetupQRCode:
72+
[MT:-24J042C00KA0648G00]"
73+
disabled: true
74+
75+
- label:
76+
"If (PICS_DT_THREAD), Scan the QR code from the previous step using
77+
the DUT. Follow any steps needed for the Commissioner/Commissionee to
78+
complete the commissioning process using BLE"
79+
verification:
80+
"DUT Commissioner: sudo ./examples/chip-tool/out/debug/chip-tool
81+
pairing qrcode 1234 MT:-24J042C00KA0648G00 ... [1645836234938]
82+
[9239:26087760] CHIP: [DMG] Received Command Response Data, Endpoint=0
83+
Cluster=0x0000_0030 Command=0x0000_0005 [1645836234938]
84+
[9239:26087760] CHIP: [CTL] Received CommissioningComplete response
85+
[1645836234938] [9239:26087760] CHIP: [CTL] Rendezvous cleanup
86+
[1645836234938] [9239:26087760] CHIP: [TOO] Device commissioning
87+
completed with success Device TH:
88+
./out/all-clusters-app/chip-all-clusters-app ...
89+
[1645836235.102593][8174:8174] CHIP:EM: Piggybacking Ack for
90+
MessageCounter:9602810 on exchange: 9753r
91+
[1645836235.102654][8174:8174] CHIP:IN: Prepared secure message
92+
0xaaaae5bbed98 to 0x000000000001B669 (1) of type 0x9 and protocolId
93+
(0, 1) on exchange 9753r with MessageCounter:12855769.
94+
[1645836235.102698][8174:8174] CHIP:IN: Sending encrypted msg
95+
0xaaaae5bbed98 with MessageCounter:12855769 to 0x000000000001B669 (1)
96+
at monotonic time: 25637371 msec [1645836235.102836][8174:8174]
97+
CHIP:DMG: ICR moving to [CommandSen] [1645836235.102863][8174:8174]
98+
CHIP:DMG: ICR moving to [AwaitingDe] [1645836235.102906][8174:8174]
99+
CHIP:DL: HandlePlatformSpecificBLEEvent 32784
100+
[1645836235.102932][8174:8174] CHIP:SVR: Commissioning completed
101+
successfully"
102+
disabled: true
103+
104+
- label:
105+
"Standard Commissioning Flow: Use a QR code from a commissionee that
106+
has their Custom Flow bit set to 0 and supports IP Network for its
107+
Discovery Capability."
108+
verification:
109+
"chip-device-ctrl > setup-payload generate -vr 0 -vi 65521 -pi 32769
110+
-cf 0 -dc 4 -dv 3840 -ps 20202021 2022-02-26 03:07:29 matter-te-6
111+
chip.SPL[22108] INFO Manual pairing code: [34970112332] 2022-02-26
112+
03:07:29 matter-te-6 chip.SPL[22108] INFO SetupQRCode:
113+
[MT:-24J0AFN00KA0648G00]"
114+
disabled: true
115+
116+
- label:
117+
"Scan the QR code from the previous step using the DUT. Follow any
118+
steps needed for the Commissioner/Commissionee to complete the
119+
commissioning process using IP Network"
120+
verification:
121+
"DUT Commissioner: sudo ./examples/chip-tool/out/debug/chip-tool
122+
pairing qrcode 1234 MT:-24J042C00KA0648G00 ... [1646261423084]
123+
[53218:29382487] CHIP: [CTL] Received CommissioningComplete response
124+
[1646261423084] [53218:29382487] CHIP: [CTL] Rendezvous cleanup
125+
[1646261423084] [53218:29382487] CHIP: [TOO] Device commissioning
126+
completed with success Device TH:
127+
./out/all-clusters-app/chip-all-clusters-app ...
128+
[1646261423.249620][28366:28366] CHIP:DMG: ICR moving to [AwaitingDe]
129+
[1646261423.249687][28366:28366] CHIP:DL:
130+
HandlePlatformSpecificBLEEvent 32784 [1646261423.249738][28366:28366]
131+
CHIP:SVR: Commissioning completed successfully"
132+
disabled: true
133+
134+
- label:
135+
"User-Intent Commissioning Flow: Use a QR code from a commissionee
136+
that has their Custom Flow bit set to 1 and supports BLE for its
137+
Discovery Capability. Place the commissionee into commissioning mode
138+
according to the devices specified instructions in its pairing hint."
139+
verification:
140+
"BLOCKED chip-all-clusters-app does not currently support User-Intent
141+
commissioning flow chip-device-ctrl > setup-payload generate -vr 0 -vi
142+
65521 -pi 32769 -cf 1 -dc 2 -dv 3840 -ps 20202021 2022-02-26 03:17:50
143+
matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332]
144+
2022-02-26 03:17:50 matter-te-6 chip.SPL[22108] INFO SetupQRCode:
145+
[MT:-24J00ID00KA0648G00]"
146+
disabled: true
147+
148+
- label:
149+
"Scan the QR code from the previous step using the DUT. Follow any
150+
steps needed for the Commissioner/Commissionee to complete the
151+
commissioning process using BLE"
152+
verification:
153+
"BLOCKED chip-all-clusters-app does not currently support User-Intent
154+
commissioning flow"
155+
disabled: true
156+
157+
- label:
158+
"User-Intent Commissioning Flow: Use a QR code from a commissionee
159+
that has their Custom Flow bit set to 1 and supports IP Network for
160+
its Discovery Capability. Place the commissionee into Commissioning
161+
Mode according to the devices specified instructions in its pairing
162+
hint."
163+
verification:
164+
"BLOCKED chip-all-clusters-app does not currently support User-Intent
165+
commissioning flow"
166+
disabled: true
167+
168+
- label:
169+
"Scan the QR code from the previous step using the DUT. Follow any
170+
manufacturer-specific steps needed for the Commissioner/Commissionee
171+
to complete the commissioning process using IP Network"
172+
verification:
173+
"BLOCKED chip-all-clusters-app does not currently support User-Intent
174+
commissioning flow chip-device-ctrl > setup-payload generate -vr 0 -vi
175+
65521 -pi 32769 -cf 1 -dc 4 -dv 3840 -ps 20202021 2022-02-26 03:19:10
176+
matter-te-6 chip.SPL[22108] INFO Manual pairing code: [34970112332]
177+
2022-02-26 03:19:10 matter-te-6 chip.SPL[22108] INFO SetupQRCode:
178+
[MT:-24J06VO00KA0648G00]"
179+
disabled: true
180+
181+
- label:
182+
"If (PICS_DT_THREAD), Custom Commissioning Flow: Use a QR code from a
183+
commissionee that has their Custom Flow bit set to 2 and supports BLE
184+
for its Discovery Capability. Place the commissionee into
185+
commissioning mode according to the devices specified instructions in
186+
the given URL."
187+
verification:
188+
"BLOCKED chip-all-clusters-app does not currently support Custom
189+
Commissioning Flow chip-device-ctrl > setup-payload generate -vr 0 -vi
190+
65521 -pi 32769 -cf 2 -dc 2 -dv 3840 -ps 20202021 2022-02-26 03:20:27
191+
matter-te-6 chip.SPL[22108] INFO Manual pairing code:
192+
[749701123365521327694] 2022-02-26 03:20:27 matter-te-6
193+
chip.SPL[22108] INFO SetupQRCode: [MT:-24J0YXE00KA0648G00]"
194+
disabled: true
195+
196+
- label:
197+
"If (PICS_DT_THREAD), Scan the QR code from the previous step using
198+
the DUT. Follow any manufacturer-specific steps needed for the
199+
Commissioner/Commissionee to complete the commissioning process using
200+
BLE"
201+
verification:
202+
"BLOCKED chip-all-clusters-app does not currently support Custom
203+
Commissioning Flow"
204+
disabled: true
205+
206+
- label:
207+
"If (PICS_DT_THREAD), Custom Commissioning Flow: Use a QR code from a
208+
commissionee that has their Custom Flow bit set to 2 and supports IP
209+
Network for its Discovery Capability. Place the commissionee into
210+
commissioning mode according to the devices specified instructions in
211+
the given URL."
212+
verification:
213+
"BLOCKED chip-all-clusters-app does not currently support Custom
214+
Commissioning Flow chip-device-ctrl > setup-payload generate -vr 0 -vi
215+
65521 -pi 32769 -cf 2 -dc 4 -dv 3840 -ps 20202021 2022-02-26 03:22:27
216+
matter-te-6 chip.SPL[22108] INFO Manual pairing code:
217+
[749701123365521327694] 2022-02-26 03:22:27 matter-te-6
218+
chip.SPL[22108] INFO SetupQRCode: [MT:-24J029Q00KA0648G00]"
219+
disabled: true
220+
221+
- label:
222+
"If (PICS_DT_THREAD), Scan the QR code from the previous step using
223+
the DUT. Follow any manufacturer-specific steps needed for the
224+
Commissioner/Commissionee to complete the commissioning process using
225+
IP Network"
226+
verification:
227+
"BLOCKED chip-all-clusters-app does not currently support Custom
228+
Commissioning Flow"
229+
disabled: true

0 commit comments

Comments
 (0)