Skip to content

Commit

Permalink
Update Test_TC_CNET_4_23.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DejinChen authored Sep 3, 2024
1 parent d730281 commit 156f931
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ tests:
1. DUT supports CNET.S.F00(WI) on endpoint PIXIT.CNET.ENDPOINT_WIFI and CNET.S.F01(TH) on endpoint PIXIT.CNET.ENDPOINT_THREAD
2. DUT has a Network Commissioning cluster on endpoint PIXIT.CNET.ENDPOINT_WIFI with FeatureMap attribute of 1, and a Network Commissioning cluster on PIXIT.CNET.ENDPOINT_THREAD with FeatureMap attribute of 2
3. DUT is commissioned on PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID
4. TH can connect to both Wi-Fi network (PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID) and Thread network (PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET)
5. XPANID of PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET is saved as th_xpan
4. TH has connectivity to both Wi-Fi network (PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID) and Thread network (PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET)
disabled: true

- label:
Expand Down Expand Up @@ -132,7 +131,7 @@ tests:
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_THREAD>
Via the TH (chip-tool), verify that the Networks attribute list has an entry with the following fields:
- NetworkID is `th_xpan`.
- NetworkID is the extended PAN ID of PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET.
- Connected is of type bool and is FALSE.
[1725259770.350] [1668581:1668583] [TOO] Endpoint: 65534 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2311103903
Expand All @@ -145,20 +144,27 @@ tests:

- label:
"Step 7: TH sends ConnectNetwork command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to `th_xpan`"
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to the
extended PAN ID of PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET"
PICS: CNET.S.C06.Rsp
verification: |
./chip-tool networkcommissioning connect-network hex:<th_xpan> 1 <PIXIT.CNET.ENDPOINT_THREAD>
./chip-tool networkcommissioning connect-network hex:<extended PAN ID> 1 <PIXIT.CNET.ENDPOINT_THREAD>
Below is an example:
./chip-tool networkcommissioning connect-network hex:1111111122222222 1 65534
[1725333743.128] [2338018:2338020] [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007
[1725333743.128] [2338018:2338020] [TOO] Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007
[1725333743.128] [2338018:2338020] [TOO] ConnectNetworkResponse: {
[1725333743.128] [2338018:2338020] [TOO] networkingStatus: 0
[1725333743.128] [2338018:2338020] [TOO] errorValue: null
[1725333743.128] [2338018:2338020] [TOO] }
disabled: true

- label:
"Step 8: TH discovers and connects to DUT on the Thread
PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET operational network"
PICS: CNET.S.A0001
verification: |
Verify that the TH successfully connects to the DUT
disabled: true
Expand Down Expand Up @@ -186,7 +192,7 @@ tests:
Via the TH (chip-tool), save the index of the Networks list entry as `Userth_netidx` and
verify that the Networks attribute list has an entry with the following values:
- NetworkID is `th_xpan`.
- NetworkID is the extended PAN ID of PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET.
- Connected is of type bool and is TRUE.
[1725260311.545] [1686771:1686773] [TOO] Endpoint: 65534 Cluster: 0x0000_0031 Attribute 0x0000_0001 DataVersion: 2311103912
Expand Down Expand Up @@ -215,7 +221,8 @@ tests:

- label:
"Step 12: TH sends RemoveNetwork Command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to `th_xpan`"
PIXIT.CNET.ENDPOINT_THREAD with NetworkID field set to the
extended PAN ID of PIXIT.CNET.THREAD_1ST_OPERATIONALDATASET"
PICS: CNET.S.C04.Rsp && CNET.S.C05.Tx
verification: |
./chip-tool networkcommissioning remove-network hex:<th_xpan> 1 <PIXIT.CNET.ENDPOINT_THREAD>
Expand Down

0 comments on commit 156f931

Please sign in to comment.