File tree 4 files changed +67
-1
lines changed
src/app/tests/suites/certification
4 files changed +67
-1
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def target_for_name(name: str):
286
286
return TestTarget .MWO
287
287
if name .startswith ("Test_TC_RVCRUNM_" ) or name .startswith ("Test_TC_RVCCLEANM_" ) or name .startswith ("Test_TC_RVCOPSTATE_" ):
288
288
return TestTarget .RVC
289
- if name .startswith ("Test_TC_THNETDIR_" ):
289
+ if name .startswith ("Test_TC_THNETDIR_" ) or name . startswith ( "Test_TC_WIFINM_" ) :
290
290
return TestTarget .NETWORK_MANAGER
291
291
return TestTarget .ALL_CLUSTERS
292
292
Original file line number Diff line number Diff line change @@ -10207,3 +10207,11 @@ PICS:
10207
10207
" Does the device implement the Thread Network Directory cluster as a
10208
10208
server"
10209
10209
id : THNETDIR.S
10210
+
10211
+ #
10212
+ # Wi-Fi Network Management Cluster
10213
+ #
10214
+ - label :
10215
+ " Does the device implement the Wi-Fi Network Management cluster as a
10216
+ server"
10217
+ id : WIFINM.S
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024 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 : " [TC-WIFINM-2.1] Attributes and commands with DUT as Server"
16
+
17
+ PICS :
18
+ - WIFINM.S
19
+
20
+ config :
21
+ nodeId : 0x12344321
22
+ cluster : WiFi Network Management
23
+ endpoint : 1
24
+
25
+ # Note: This test assumes the DUT has an active Wi-Fi network, i.e.
26
+ # SSID is not null and NetworkPassphraseRequest returns a passphrase.
27
+ tests :
28
+ - label : " Wait for the commissioned device to be retrieved"
29
+ cluster : DelayCommands
30
+ command : WaitForCommissionee
31
+ arguments :
32
+ values :
33
+ - name : nodeId
34
+ value : nodeId
35
+
36
+ - label : " TH reads the SSID attribute from the DUT"
37
+ command : readAttribute
38
+ attribute : SSID
39
+ response :
40
+ constraints :
41
+ type : octet_string
42
+ hasValue : true
43
+ minLength : 1
44
+ maxLength : 32
45
+
46
+ - label : " TH sends the NetworkPassphraseRequest command to the DUT"
47
+ command : NetworkPassphraseRequest
48
+ response :
49
+ values :
50
+ - name : Passphrase
51
+ constraints :
52
+ type : octet_string
53
+ hasValue : true
54
+ minLength : 8
55
+ maxLength : 64
Original file line number Diff line number Diff line change @@ -2991,3 +2991,6 @@ PWRTL.S.F03=1
2991
2991
2992
2992
# Thread Network Directory Cluster
2993
2993
THNETDIR.S=1
2994
+
2995
+ # Wi-Fi Network Management Cluster
2996
+ WIFINM.S=1
You can’t perform that action at this time.
0 commit comments