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 4, 2024
1 parent 156f931 commit dacd1de
Showing 1 changed file with 9 additions and 24 deletions.
33 changes: 9 additions & 24 deletions src/app/tests/suites/certification/Test_TC_CNET_4_23.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,7 @@ tests:
[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"
verification: |
Verify that the TH successfully connects to the DUT
disabled: true

- label: "Step 9: TH sends the CommissioningComplete command to the DUT"
- label: "Step 8: TH sends the CommissioningComplete command to the DUT"
verification: |
./chip-tool generalcommissioning commissioning-complete 1 0
Expand All @@ -184,7 +177,7 @@ tests:
disabled: true

- label:
"Step 10: TH reads Networks attribute from the DUT's endpoint
"Step 9: TH reads Networks attribute from the DUT's endpoint
PIXIT.CNET.ENDPOINT_THREAD"
PICS: CNET.S.A0001
verification: |
Expand All @@ -204,7 +197,7 @@ tests:
disabled: true

- label:
"Step 11: TH sends ArmFailSafe command to the DUT with
"Step 10: TH sends ArmFailSafe command to the DUT with
ExpiryLengthSeconds set to 900"
verification: |
./chip-tool generalcommissioning arm-fail-safe 900 1 1 0
Expand All @@ -220,7 +213,7 @@ tests:
disabled: true

- label:
"Step 12: TH sends RemoveNetwork Command to the DUT's endpoint
"Step 11: TH sends RemoveNetwork Command to the DUT's endpoint
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
Expand All @@ -244,7 +237,7 @@ tests:
disabled: true

- label:
"Step 13: TH sends AddOrUpdateWiFiNetwork command to the DUT's
"Step 12: TH sends AddOrUpdateWiFiNetwork command to the DUT's
endpoint PIXIT.CNET.ENDPOINT_WIFI with SSID field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID, Credentials field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_CREDENTIALS"
Expand All @@ -268,7 +261,7 @@ tests:
disabled: true

- label:
"Step 14: TH sends ConnectNetwork command to the DUT's endpoint
"Step 13: TH sends ConnectNetwork command to the DUT's endpoint
PIXIT.CNET.ENDPOINT_WIFI with NetworkID field set to
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID"
PICS: CNET.S.C06.Rsp && CNET.S.C07.Tx
Expand All @@ -286,15 +279,7 @@ tests:
[1725270259.003] [2033918:2033920] [TOO] }
disabled: true

- label:
"Step 15: TH discovers and connects to DUT on the Wi-Fi
PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID operational network"
PICS: CNET.S.A0001
verification: |
Verify that the TH successfully connects to the DUT
disabled: true

- label: "Step 16: TH sends the CommissioningComplete command to the DUT"
- label: "Step 14: TH sends the CommissioningComplete command to the DUT"
verification: |
./chip-tool generalcommissioning commissioning-complete 1 0
Expand All @@ -309,14 +294,14 @@ tests:
disabled: true

- label:
"Step 17: TH reads Networks attribute from the DUT's endpoint
"Step 15: TH reads Networks attribute from the DUT's endpoint
PIXIT.CNET.ENDPOINT_WIFI"
PICS: CNET.S.A0001
verification: |
./chip-tool networkcommissioning read networks 1 <PIXIT.CNET.ENDPOINT_WIFI>
Via the TH (chip-tool), Verify that the Networks attribute list has an entry with the following fields:
- NetworkID is the hex representation of the ASCII values for PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID
- NetworkID matches the bytes in PIXIT.CNET.WIFI_1ST_ACCESSPOINT_SSID
- 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

0 comments on commit dacd1de

Please sign in to comment.