From 156f9318349b62579e7cc20d05726baa4cd8cc2a Mon Sep 17 00:00:00 2001 From: cdj <45139296+DejinChen@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:25:56 +0800 Subject: [PATCH] Update Test_TC_CNET_4_23.yaml --- .../certification/Test_TC_CNET_4_23.yaml | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml b/src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml index 944f2f988d4eb6..30f4bc9acdddcd 100644 --- a/src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml +++ b/src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml @@ -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: @@ -132,7 +131,7 @@ tests: ./chip-tool networkcommissioning read networks 1 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 @@ -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: 1 + ./chip-tool networkcommissioning connect-network hex: 1 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 @@ -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 @@ -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: 1